| View previous topic :: View next topic |
| Author |
Message |
Erick Sasse Guest
|
Posted: Tue Mar 06, 2007 6:48 pm Post subject: Accessing parameters in OnBeforeUpdateRecord |
|
|
Is it possible to access the parameters values used to open a
ClientDataSet when I'm doing custom processing in the
OnBeforeUpdateRecord event on the server?
Thanks!
--
Erick Sasse |
|
| Back to top |
|
 |
Ralf Jansen Guest
|
Posted: Tue Mar 06, 2007 9:02 pm Post subject: Re: Accessing parameters in OnBeforeUpdateRecord |
|
|
Erick Sasse schrieb:
| Quote: | Is it possible to access the parameters values used to open a
ClientDataSet when I'm doing custom processing in the
OnBeforeUpdateRecord event on the server?
Thanks!
|
I guess they have been copied to SourceDs.Parameters.
May i ask what you are trying to achieve?
Parameter checking before updating sounds weird and normally i would
recommend sending custom info via Ownerdata and not rely on parameters.
--
Ralf Jansen
deepinvent Software GmbH - Viersen, Germany - http://www.deepinvent.com
Blog: http://blog.mailstore.com
Archiving E-mails with MailStore: http://www.mailstore.com |
|
| Back to top |
|
 |
Erick Sasse Guest
|
Posted: Tue Mar 06, 2007 11:47 pm Post subject: Re: Accessing parameters in OnBeforeUpdateRecord |
|
|
Ralf Jansen wrote:
| Quote: | May i ask what you are trying to achieve?
Parameter checking before updating sounds weird and normally i would
recommend sending custom info via Ownerdata and not rely on
parameters.
|
Well, thanks, I found another way to achieve what I need.
I agree that the parameters idea is not good and I won't use it.
--
Erick Sasse |
|
| Back to top |
|
 |
|