Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC
Message
From
28/09/2001 13:01:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/09/2001 12:12:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: ODBC
Miscellaneous
Thread ID:
00556482
Message ID:
00562008
Views:
36
>Cetin,
>
>Sorry it's take so long to respond. The error I get is Statement parameter is required for non-prepared SQLEXEC calls. One note: If I run this code with a static DSN name gnHandel = SQLConnect('mydsn',userid, password) it all works just fine. But when I use SQLSTRINGCONNECT(myString) I make a connection but am unable to do an SQLEXEC call.

Non-prepared ? There is a SQLPrepare() call there. However I generally do not use it and directly add the statement :
lcSQLStatement = 'select ...'
SQLExec(gnHandle,lcSQLStatement)

Would you try this one.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform