Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a SQL select statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Executing a SQL select statement
Divers
Thread ID:
00107813
Message ID:
00107813
Vues:
68
If I issue the following line of code:

SELECT * FROM myTable INTO CURSOR myCursor

I can then issue a:

SELECT myCursor

to process these records. If I want to build a more complex select statement and store it in a string, then how do I execute it?

Using the above example:

lcSql = "Select * FROM myTable INTO CURSOR myCursor"

What is the next thing I need to do to process lcSql to create myCursor?

Thanks in advance for any suggestions,

Mat Kennedy
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform