Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One function twice?
Message
De
29/09/2004 10:22:56
 
 
À
28/09/2004 19:11:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00947006
Message ID:
00947170
Vues:
13
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform