ODBC connection to MS SQL 2000 help needed
mfstuart at cox.net
mfstuart at cox.net
Thu Mar 30 12:10:27 EST 2006
Hi all,
Im enjoying this forum immensely lots of pros with great advice and friendly chatter.
Hence Im looking for help with the subject matter.
Im using Sarahs MySQLtest.rev to learn the required database connections,
but Im wanting to connect to MS SQL 2000 with an ODBC DSN name.
Ive set up a System DSN for this using the SQL Server driver and SQL authentication.
Selected the default database, and the Test Data Source completes successfully.
I know it requires a change to the revOpenDatabase script,
and have made the changes, and have a successful connection.
Problem is, the select returns no data (when I know there is data) and the Counter = -1 for Matching records.
Ive tried with and without the semicolon ; in the on mouseUp for the Select button.
Heres the select statement:
SELECT account_number as "Account No", account_name as "Account Name" FROM account;
I know there are plug-ins out there for database connections,
but Im trying to learn Rev Studio as it is.
Any help will be much appreciated, thanx.
Mark
More information about the use-livecode
mailing list