Re: HELP! ODBC Connection String

new topic     » goto parent     » topic index » view thread      » older message » newer message

Alex Chamberlain wrote:
> 
> I've downloaded Matt Lewis's ODBC wrapper and im really confused with the
> connection
> string business.
> 
> I've got database.dsn that connects to database.mdb, an MS Access database, so
> how
> do I use it?
> 
> It would be great if anyone had a example program or if they could explain how
> to use
> a filedsn.
> 

I've never used a filedsn, but I'd recommend trying something like:
conn = openDriverConnectionODBC( "FILEDSN=database.dsn", hwnd, SQL_DRIVER_PROMPT
)


Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu