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 

How to reference a field in a Rave event handler

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools
View previous topic :: View next topic  
Author Message
Nick Alexander
Guest





PostPosted: Fri Jun 27, 2003 10:41 am    Post subject: How to reference a field in a Rave event handler Reply with quote



How do I reference a field in a Rave event handler? I want to add
the value of a price field to a parameter if another field contains a
string, but not if it doesn't; so something like

if copy(ProductDescription,1,6)='Labour' then
LabourTotal:=LabourTotal+NetPrice;

where ProductDescription and NetPrice are fields in a row, and
LabourTotal is a report parameter. If I try to do this I get an
error message that ProductDescription is unknown. I have prefixed
the field with the connection name, i.e. the full name, but still to
no avail.

Any help would be appreciated.

Regards,
Nick Alexander
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools 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.