General information
Category:
Coding, syntax & commands
Title:
Opening database via ODBC
Hi all!
I'm trying to connect a DBISAM database via ODBC. Connection runs well I gess, I can list tales in database, but how can I read/browse a table?
Any help will be great.
Thank's in advance,
NPedro
****** SAMPLE CODE *******
nHandle = Sqlstringconnect("Driver={DBISAM 4 ODBC Driver};ConnectionType=Local; CatalogName=c:\datapath\data;TablePassword=323533")
*!* nHandle : returns positive number: OK
nTables = SQLTables(nHandle, 'TABLE', 'mycursor' )
Select mycursor
Browse
*!* browses tables names... inside database: OK
nResult = SQLExec(nHandle, 'use tablexxx')
*!* returns negative number: ERROR!!!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only