Hello,
Here is what trouble me :
In a standard module, I need to test an long field.
Public function test_Idx (Inref as Long) as Long
Dim stDocname as string
Dim T_idx as long
stDocname = "Edit_Form"
DoCmd.Openform stDocname,,,"[Ref_ctc]=" & Inref
So the form opens only where I want it to be...