New topic: 

ODBC connection fails with RS 2012 R1

<http://forums.realsoftware.com/viewtopic.php?t=45566>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        grechcj          Post subject: ODBC connection fails with RS 
2012 R1Posted: Tue Oct 09, 2012 4:45 pm                         
Joined: Sun Feb 14, 2010 11:19 pm
Posts: 182
Location: Australia                For some reason this runs fine of RS 2011 
R4.3 but won't connect to the database in RS 2012 R1.

dim dbCav as new ODBCDatabase

//Make connection string
connectionString = "DRIVER={Microsoft Access Driver (*.mdb)};"
connectionString = connectionString + "DBQ=" + cavFilePath + ";"
connectionString = connectionString + "UID=;PWD=password1;"

//Assign data source
dbCav.DataSource=connectionString

//Connect
if dbCav.Connect then
  [throws error in RS 2012 R1]
   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to