I'm working with R4 on Intel Mac. Trying to 'Add' and ODBC database to the project crashes the IDE.

I read the Known Issues document and suppose this falls into that category.

My problem is that when I do it in code, it crashes my application. I've got this in a PushButton:

  Dim db as ODBCDatabase
  db= New ODBCDatabase
  db.DataSource="test_dsn"
  db.UserName="dsn_tester"
  db.Password="secret"
  If db.Connect then
    //proceed with database operations
    MsgBox Connection established"
  else
    MsgBox "The connection failed."
  end if

Clicking the button will crash the app. I'm able to connect from PHP using that DSN so it's not the driver. Anything wrong with my code? Otherwise I'll file a bug report.

Regards,
Juergen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to