Menu

#2 FILEDSN and SAVEFILE ignored by SQLDriverConnect

closed-fixed
None
5
2007-01-05
2004-03-20
No

I am trying to convince SQLDriverConnect to use the
following connection string:

"FILEDSN=lahave.dsn"

the file lahave.dsn contains:

[ODBC]
DSN=peter

If I use "DSN=peter" as the hardcoded connection string
in my application, everything works fine. However this
is not an option since my users will want to be able to
point to their own DSN's via lahave.dsn.

My first conclusion was that perhaps the file was not
located properly. So I attempted to use:

"DSN=peter;SAVEFILE=lahave.dsn"

as my connection string. In this case the application
works fine, but the file lahave.dsn is not created
anywhere!

Discussion

  • iODBC Maintainer

    • status: open --> open-accepted
     
  • iODBC Maintainer

    • assigned_to: nobody --> iodbc
    • status: open-accepted --> closed-fixed
     
  • iODBC Maintainer

    Logged In: YES
    user_id=872639
    Originator: NO

    Implemented in iODBC 3.52.5