Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unusual substitution syntax
Message
From
17/01/2004 23:17:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Unusual substitution syntax
Miscellaneous
Thread ID:
00867888
Message ID:
00867888
Views:
64
Hi. VFP7 user. I am trying to use a sql statement for several similar situations. My problem is the syntax for lcFilter in the sql statement.

My code reads as follows:
USE myDBF
myRecno = recno()
lcFilter = "recno('myDBF') = myRecno"  && myRecno is only variable
SELE * FROM myDBF WHERE lcFilter
Thanks, Randy

ps: this is an over-simplified example to make my point
Next
Reply
Map
View

Click here to load this message in the networking platform