DO FORM c:\frmkey.scx WITH 'MARB65042713' TO tnamIn the init of the frmkey form i have pout this code
IF Thisform.recherche(tcVal) > 1 Thisform.ConfigKey(tcValRech,tcVal) Thisform.configgrd(ALLTRIM(UPPER(tcValRech))) GO TOP Thisform.Refresh ELSE RETURN thisform.valret RETURN .f. ENDIFIn The Recherche Method I init the valret property