 |
|
 |
JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1617
|
Re: How to connect in Firebird??
On the FAQ pages, it has (although I'm sure you've seen it):
Sample connection string:
(remove space before UID=, added for it to be displayed properly on the page)
"DRIVER={XTG Systems InterBase6 ODBC driver};DB=myserver:c:mypathmydb.gdb; UID=myname;PWD=secret;CHARSET=WIN1250;ROLE=myrole;"
If you are using Firebird, you can specify a port number too, like:
"DRIVER={XTG Systems InterBase6 ODBC driver};DB=myserver/1234:c:mypathmydb.gdb; UID=myname;PWD=secret;CHARSET=WIN1250;ROLE=myrole;"
|
If they don't work like that, maybe switching 'Driver=' to 'Provider=' might work.
Or you could set up a DSN, then use it.
If you add a ADODC control, you can build the connection string with it. It may have the provider listed, or if you have to use ODBC by itself it does provide some assistance for using a DSN and system data sources.
Unfortunetely without it being installed on my PC, I can't test it.
[Edited by JLRodgers on 02-01-2003 at 09:27 PM GMT]
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|
|
03-01-2003 at 03:17 AM |
|
|
|
|
 |
 |