Greetings All,

I am trying to access our company's inventory database via Revolution. I have successfully set up the DSN under Windows XP. I can use Excel to create a Database Query and a spreadsheet with the information I want. However, I am having trouble connecting to the same database using Revolution.

Here is my code:

on mouseUp
revSetDatabaseDriverPath "C:\WINDOWS\system32"
get revOpenDatabase("ODBC","Database Name",,"userName","userPassword")
put the result
end mouseUp


When I run this code, I get the following error message:

   revdberr,invalid database type


Anybody got any suggestions?

Thanks,
John Miller

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to