Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't figure out Error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00184055
Message ID:
00184157
Views:
18
>I have the following code:
>
>
>use generatepk exclusive
>	SCAN
>		REPLACE gpk_currentnumb with 0
>	endscan
>
>
>I get the error "Variable "GPK_CURRENTNUMB" is not found.
>
>This field does exist in the generatepk table. I even put a list stru right before the scan command and it shows that gpk_currentn... does exist.
>
>any ideas?
>
>Thanks,
>Paul

You said you found the problem, but your code will run faster if you remove the SCAN/ENDSCAN and change the REPLACE line to:

REPLACE ALL gpk_currentnumb with 0
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform