I have a database (CustomerDB.rbd) that was created by Program 1.

From Program 2, I want to access this database. So I need to have the user locate it, then connect to it.

My question is, how do I do this?

------------------------------------------------------------------------ ---------------------------------------- CustomerDB.DatabaseFile = GetOpenFolderItem("rbd") // user locates the Customer DB file.

IF (CustomerDB.Connect = FALSE) THEN // connect to customer DB.
    DisplayCustomerDBError
    Quit
  END IF
------------------------------------------------------------------------ ----------------------------------------

The above code does not work since GetOpenFolderItem is probably the wrong method, or I am using it incorrectly, since it returns a folderitem.

What's the solution? Thanks for the help,

TJH

_______________________________________________
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