Hi,
i'am using vfp6 with this code:
DO FORM myForm && to get the variable Ccode from user
USE sale_2008
LOCATE FOR Item=Ccode
IF FOUND()
Lfound=.T.
ELSE
Lfound=.F.
ENDIF
USE
The problem is that when runnig the program, the instruction after (DO FORM myForm) USE sale_2008 get executed before (DO FORM...), i have tried WAIT and SLEEP to begin from (DO FORM...) but nothing.
DO FORM myForm
DECLARE Sleep IN Win32API INTEGER
sleep(1000)
USE sale_2008
LOCATE FOR Item=Ccode
IF FOUND()
Lfound=.T.
ELSE
Lfound=.F.
ENDIF
USE
Thank you form help
LENGLIZ
i'am using vfp6 with this code:
DO FORM myForm && to get the variable Ccode from user
USE sale_2008
LOCATE FOR Item=Ccode
IF FOUND()
Lfound=.T.
ELSE
Lfound=.F.
ENDIF
USE
The problem is that when runnig the program, the instruction after (DO FORM myForm) USE sale_2008 get executed before (DO FORM...), i have tried WAIT and SLEEP to begin from (DO FORM...) but nothing.
DO FORM myForm
DECLARE Sleep IN Win32API INTEGER
sleep(1000)
USE sale_2008
LOCATE FOR Item=Ccode
IF FOUND()
Lfound=.T.
ELSE
Lfound=.F.
ENDIF
USE
Thank you form help
LENGLIZ