Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behavior with sqlexec and oracle
Message
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:
01446477
Views:
37
What is structure of the table on ORACLE?

MartinaJ

>>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?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform