Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Property default value
Message
De
24/10/2008 10:29:12
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356658
Message ID:
01356917
Vues:
24
Sergey--

>What are you trying to acomplish?

I have inherited an app. The form controls are all bound to form properties rather than table/view/cursor fields. When the user clicks on Add, the code wants to set all of the properties that the controls are bound to to their Default/Initial Value. Needless to say the code does not work.

Sounds like I need to look at the type of the individual form data properties. If a property's Type is character set it to "", if it is numeric set it to 0, etc. Worry about the exceptions later.


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

Click here to load this message in the networking platform