Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL, Views, and Macro Substitution
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00921296
Message ID:
00921813
Views:
31
>>select * FROM ji!job WHERE (vcWhere)

You can check this code if applicable to you...
nCRMID=Thisform.search.value&& input box for customer to get from sql db
= SQLSETPROP(lnConnHandle, 'asynchronous', .F.)
= SQLEXEC(lnConnHandle, 'SELECT * FROM CRMPML1 WHERE ID = ?nCRMID','RV_CRMPML')
= SQLCANCEL(lnConnHandle)
= SQLDISCONNECT(lnConnHandle)
SELECT RV_CRMPML
I used this code to retrieve a certain customer from a sql server table then show the result to a form...

If your retrieving a record from sql table, you can make a code similar to this code..
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform