Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Base Tables
Message
De
20/12/2017 14:31:42
Andy Roth
Neyenesch Printers
Californie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01656587
Message ID:
01656604
Vues:
48
>>>You can not use parameter the way you're using. The SELECT * from tableName should be send as is, e.g.
>>>
>>>sqlCommand = 'select * from ' + tableName + ';'
>>>
>>>You can probably send several commands at once and use multiple result sets (say, do 10 tables in one command).
>>
>>
>>That worked. Now how to deal the the Copy to variable?
>
>What exactly do you mean? What is your new code and what do you need help with?

Once I have the complete table in the cursor I want to copy that data to a foxpro table

2 more steps needed

1) Identify the table name Ex arjob
2) Copy the cursor to c:\a\arjob as a foxpro DBF

I believe Copy To by default goes to a DBF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform