Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT statement not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SPT statement not working
Miscellaneous
Thread ID:
00787530
Message ID:
00787530
Views:
58
I am trying to look for a specific record using SPT but the following doesn't seem to work, it gives me all the records. I want parameter "g" to work. I am writing this statement wrong? I am trying to retrieve this from access database.
	g = '444-44-4444'
	lcSql = " Select *" ;
	      + "  FROM UDFields" ;
	      + "  where UD.SSNo = (g)" ;

	lnRes = SQLEXEC( .nCon, lcSql, "lcresults" )
Thanks
Nick Patel
Next
Reply
Map
View

Click here to load this message in the networking platform