roeya
Posts: 181
|
Posted: 09/13/2004, 11:35 PM |
|
I need a way to change the the ' DBI string' in
$self->{DataSource} = ' DBI string'
line in the clsDByyyyyy class generated in the Common.pm file
and not manually.
the generated code surrounds the DBI connection string with ''
if it was "" I could have entered a variable name inside
I need it in order to connect to different database according
to user preferences, and my client request the database will be separated physically
Can I chnage the code generator to generate "" instead of the '' ?
_________________
http://www.infoneto.com/ |
 |
 |
Karsten
Posts: 57
|
Posted: 09/28/2004, 3:20 PM |
|
hi roeya
i have the same issue, need to let the enduser specifi his/her databaseserver db name password and such.
actually i write a kind of "wrapper" to write the db_mysql file directly to alter "projectsettings" at runtime#
_________________
If one gives up, he told himself he failed. |
 |
 |
|