Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Return key from a new record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
How to Return key from a new record
Divers
Thread ID:
00268077
Message ID:
00268077
Vues:
48
Complex environment question. I have a system where I can add to a customers environment, a new agreement (loan on a car or boat).

My data is One : Many : One. One customer can have multiple accounts and each account is to only 1 asset.

In my generating a new loan, the customer is picked from the list or added. They can then refinance an exisitng loan, or add a new asset for the loan. I need to grab the key from adding that asset, so I can use it on the loan agreement as the Fkey to the asset.

Form in use is cmaintenancebizobject that calls a form based on cbizobjaddform. Thhey both work great, but how do I capture the REAL key value when it saves the asset to the dbf?

I'm using views. The manual says that you can return a value from a modal form, but it's giving me a 0 insted of the real value (275 as an example). This.Form.uretVal=uid is in the click event to save.

TIA

__Stephen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform