Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddViewParameter enhancement?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
AddViewParameter enhancement?
Divers
Thread ID:
00400165
Message ID:
00400165
Vues:
50
Hi,

I've been thinking and tinkering...

I looked at the code in the AddViewParameter method of kbiz and noticed that it blindly adds parameters to the array.

Wouldn't it be a good idea if it was a bit smarter and if you passed it the name of a parameter already in the list, it updated the existing element?

Right now, what I'm doing whenever I have a parameter whose value might change is to assign it to a property of the form and then keep changing the property as I need, but I thought it would be easier to simply build some smarts into the bizobj and have AddViewParameter deal with changes as well as additions.

What do you think?

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