Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form with private datasession calls a .prg. What happens
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00097056
Message ID:
00097979
Vues:
30
>When i call a .prg from a form which has a private datasession, the program opens another datasession for all the cursors or tables.
>To solve this, i pass the datasession as a parameter and issue a 'set datasession to (parname). Is there another better solution to do this ???

What I do is define the PRG as a method of my application object.

Suppose that I want, somewhere in my form calculate the amount of tax due, I would write:
lnTaxAmnt = goApp.calcTax()

José
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform