Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behavior with sqlexec and oracle
Message
From
29/01/2010 06:50:47
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01445832
Message ID:
01446475
Views:
51
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform