Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One function twice?
Message
From
29/09/2004 10:22:56
 
 
To
28/09/2004 19:11:34
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00947006
Message ID:
00947170
Views:
14
>In what context do you need to globally query to get an invoice total? Do you store the invoice total in the invoice header?

In most cases, a printed report where I want multiple invoice totals in a row.

>If necessary, you can save the current work area and set it back within the function. Calling this function would probably less efficient than the case where you already have the line items loaded for the current invoice.

If I have unsaved changes, loading the data in a separate cursor won't give the correct results. And if I always reload the current cursor, I've lost those changes. Sergey's suggestion seems... too simple, but I'll give it a try.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform