Yes I am new to Visual fox pro. I'm using VFP 7 I am trying to convert an old clipper program.
I am having trouble with my form: Basically I have 2 buttons, first a text box for the user to enter a upc and the seccond is a command box with the following code:
store RIGHT('0000000000000'+LTRIM(RTRIM(STR(text1))),13) to xtemp
sEEK xtemp
thisform.Refresh
When I run my form I enter my upc in text1 box click on command button that runs the code above and I get an error that says Variable text1 not found.
I thought when you entered data into a text box it was stored as a variable named the name of the text box.
I am having trouble with my form: Basically I have 2 buttons, first a text box for the user to enter a upc and the seccond is a command box with the following code:
store RIGHT('0000000000000'+LTRIM(RTRIM(STR(text1))),13) to xtemp
sEEK xtemp
thisform.Refresh
When I run my form I enter my upc in text1 box click on command button that runs the code above and I get an error that says Variable text1 not found.
I thought when you entered data into a text box it was stored as a variable named the name of the text box.