Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object not found
Message
 
To
02/06/2004 05:46:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00909177
Message ID:
00909183
Views:
10
It's easier now:
In calling form You must use NAME to invoce the sum method:

something like that:
&& In calling form
DO FORM FrInvoice NAME thisform.frinvoice .....
&& In method whereYou need the SUM()
IF VARTYPE(thisform.frinvoice) == "O" AND .NOT. ISNULL(thisform.frinvoice)
   thisform.frinvoice.Sum()
ELSE
   DO FORM FrInvoice NAME thisform.frinvoice ..... NOSHOW
   thisform.frinvoice.Sum()
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform