Page 1 of 1

Simple question about Options.Charset property

Posted: Thu 01 Jun 2006 12:35
by Moehre
Hello!

If I change the TOraSession.Options.Charset property at runtime, do I have to close an existing connection first for the changes to take effect?

For example:

OraSession1.Connected := true;
...
OraSession1.Connected := false;
OraSession1.Options.Charset := 'WE8MSWIN1252';
OraSession1.Connected := true;
...

I am not sure wether I have to close the connection first or not ... if not, it would save some time in my applications ...

thx
Moehre

Posted: Fri 02 Jun 2006 13:48
by Alex
You should change Options.Charset property of TOraSession component only when it is disconnected.