Default ODBC settings

Default ODBC settings

am 21.05.2010 17:52:15 von Jonathan Foy

--0016364d2471d45b1304871cac69
Content-Type: text/plain; charset=ISO-8859-1

Hello

I think I already know the answer to this, but thought I'd double check in
case I missed something.

Shy of editing the default values in dlg_specific.h and recompiling, is
there any way to specify default data source settings? I see a reference to
INI_DSN, which seems to be default settings if you create a data source
using the GUI (which I don't do, I manually edit the odbc.ini file), but
even then it would put these default settings in the newly created odbc.ini
data source settings I take it...?

I have hundreds of data sources in the ini file and I was hoping to avoid
duplicating the identical setups in each entry, having the data source
specific settings override any such defaults. I can edit the header file to
do this, but then whenever I update I would have to redo those edits. Which
isn't terrible, but I would like to avoid it if I could.

So...am I missing something or does this functionality not currently exist?

Thanks,

--0016364d2471d45b1304871cac69
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello

I think I already know the answer to this, but thought I'd=
double check in case I missed something.

Shy of editing the default=
values in dlg_specific.h and recompiling, is there any way to specify defa=
ult data source settings?=A0 I see a reference to INI_DSN, which seems to b=
e default settings if you create a data source using the GUI (which I don&#=
39;t do, I manually edit the odbc.ini file), but even then it would put the=
se default settings in the newly created odbc.ini data source settings I ta=
ke it...?


I have hundreds of data sources in the ini file and I was hoping to avo=
id duplicating the identical setups in each entry, having the data source s=
pecific settings override any such defaults.=A0 I can edit the header file =
to do this, but then whenever I update I would have to redo those edits.=A0=
Which isn't terrible, but I would like to avoid it if I could.


So...am I missing something or does this functionality not currently ex=
ist?

Thanks,


--0016364d2471d45b1304871cac69--