Results 1 to 3 of 3

Thread: Setting up a Connection String

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    85

    Question Setting up a Connection String

    I have only ever used ODBC for setting up my database connections, but I need to do it in a way that does not go through ODBC. How do I set it up so that when a user installs the program the datasourse is already setup without having to set-up ODBC????

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    You can use 'DSN-less' connections by creating a connection string on-the-fly but this assumes that you have the drivers already installed.

    If you create a connection object using the Data Environment the connection string can be cut and paste from the designer.

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    85

    Thanks for that. Quick question

    Father of two sets of twins!!!! hard work I bet

    How do you you the App.Path function? eg.

    Ado.ConnectionString = App.Path ??????

    basically the database is in the app path so how would I set up the database that way????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width