Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referring to a field in the view that feeds a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Referring to a field in the view that feeds a form
Divers
Thread ID:
00362129
Message ID:
00362129
Vues:
73
Hi all,

I have a form based on CBizObjForm.

This form has a business object that holds the data: providersobj

The data comes from a view called lv_providers.

Fields:
iid
lname
fname
telephone
street
etc.

Upon saving a new record, I'd like to display a messagebox with the value of iid for the record being added (this is for me only. User's won't get it).

Is it OOPily correct to say:

messagebox("And the primary key is... " + str( v_providers.iid))

???

Or is there a way in which we can do it by asking the business object to give us the value?

Thanks!


Alex
Low-carb diet not working? Try the Low-food diet instead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform