Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro and select
Message
De
12/03/2003 10:30:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/03/2003 10:06:40
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00764763
Message ID:
00764794
Vues:
22
>Sorry, i click the send button
>
>Here my probleme
> I want to pass a sql command in a variable an execute them.
> I dont want to use sqlexect() or a listbox
>
>Someone told me i can use macro but i dont understand how.
>
>Somebody can help me??
>
>code :
> strsqlselect = "selet * from table into cursor cursqltemp1"

If you don't know how to use the macro substitution, it works like this:
SQLCommand = "select * from Table into cursor Temp1"
&SQLCommand
HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform