Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business rule against a form property
Message
From
06/12/2001 12:57:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Business rule against a form property
Miscellaneous
Thread ID:
00590665
Message ID:
00590665
Views:
78
Hope this isn't another dumb question but ....

I have a business rule object that has a rule which simply compares the sum of several fields in the view with a total that the user entered in the form (the tot is saved in a property on the form).

I tried something like:

if v_invoice.ext + v_invoice.tax + v_invoice.extras <> thisform.nTotal

which blew up because there is no form in the business rule class! So I'm using _screen.activeform.nTotal instead. Is this the best way to reference the property?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform