Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special result cursor problem ???
Message
De
13/02/2007 11:44:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/02/2007 06:35:05
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01194699
Message ID:
01195203
Vues:
29
>Hello Sergey
>Thank you for your quick answer.
>Until now I found no way to put 2 commands in a batch.
>Again from sql studio i can do this with // on a empty line
>create table ...
>//
>drop table ...
>//
>commit
>
>When i try this from foxpro
>text to xyz
>create table ...
>//
>drop table ...
>//
>commit
>endtext
>
>sqlexec(connr,xyz)
>i get an error from the database: invalid end of sql statement pos nn
>nn seams to be end of first line ??

I've done this a number of times, even in VFP7 and 8. No // lines, just blank lines. Check your end-of-line markers, though - try to see what strconv(xyz, 15) shows - is there an 0D, or 0D0A at the end of each line. Maybe something's eating them.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform