[PostgreSQL] SpecificOptions are lost
Posted: Sun 11 Jan 2009 01:12
Hello,
if I do a reconact the data of SpecificOptions is lost. Is this correct?
I have login and if the user change the server or the port or what ever I do the following
The first time is correct, but during the second time, running these steps above, error comes "Relation t_user doesn't exists".
The first time everthing ok the second not?
So I the following before the Connected=true
and everything was ok.
Thanks for your help
Thomas
if I do a reconact the data of SpecificOptions is lost. Is this correct?
I have login and if the user change the server or the port or what ever I do the following
Code: Select all
UniConn->Connected = false;
UniConn->Server = GetServer();
UniConn->Port = GetPort();
UniConn->Connected = true;
DsUser->DataSet->Active = false;
DsUser->DataSet->Active = true;
The first time everthing ok the second not?
So I the following before the Connected=true
Code: Select all
UniConn->SpecificOptions->Add("Schema=p_myshema");
Thanks for your help
Thomas