BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accessing parameters in OnBeforeUpdateRecord

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Erick Sasse
Guest





PostPosted: Tue Mar 06, 2007 6:48 pm    Post subject: Accessing parameters in OnBeforeUpdateRecord Reply with 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!

--
Erick Sasse
Back to top
Ralf Jansen
Guest





PostPosted: Tue Mar 06, 2007 9:02 pm    Post subject: Re: Accessing parameters in OnBeforeUpdateRecord Reply with quote



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





PostPosted: Tue Mar 06, 2007 11:47 pm    Post subject: Re: Accessing parameters in OnBeforeUpdateRecord Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.