Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior with sqlexec and oracle
Message
De
29/01/2010 06:50:47
 
 
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 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01445832
Message ID:
01446475
Vues:
50
>A string literal in VFP is limited to 255 characters. You should use TEXTMERGE to easy build and maintain queries
>
>TEXTMERGE TO lcSql NOSHOW
>select table1.field1,table1.field2,table1.field3,table1.anyfieldother 
>where table1.fieldx=table2.fieldy and......
>ENDTEXT
>
>lnResult = SQLEXEC(gnconnHandle, lcSql)
>
>
>
>>I do not understand this behavior: ODBC with Oracle:
>>
This do not work. lnResult=-1
Set Textmerge On
TEXT To lcSql Noshow
Select .....
ENDTEXT
lnResult = SQLExec(gnConnHandle, lcSql,"anyfile")
=Messagebox(lnResult)
= SQLDisconnect(gnConnHandle)

Where am i wrong?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform