if OEvent.Started then OEvent.Stop;
OEvent.ObjectNames := S;
OEvent.Start;
This code gives me an "Operation not allowed on a started TOracleEvent" exception.
There is a workaround though:
if OEvent.Started then OEvent.Stop;
while OEvent.Started do Sleep(20);
OEvent.ObjectNames := S;
OEvent.Start;
Is this the right way to do it?
// David
OEvent.ObjectNames := S;
OEvent.Start;
This code gives me an "Operation not allowed on a started TOracleEvent" exception.
There is a workaround though:
if OEvent.Started then OEvent.Stop;
while OEvent.Started do Sleep(20);
OEvent.ObjectNames := S;
OEvent.Start;
Is this the right way to do it?
// David