Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling Null values on form and saving it in SQL server
Message
De
01/07/2014 04:55:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/07/2014 03:55:51
Upendra Nayak
Cadsys Technologies
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01602939
Message ID:
01602947
Vues:
58
>Hi Dragan
>
>The question is for each field the valid values
>can be actual value (know to the user) or null (for value not known to the user) in the sql field.
>
>e.g. if we have a field called salary then the valid
>values can be Zero to some figure. But if the user
>does not have the information for that field then
>the value should be null.
>
>Please note that in above example even Zero
>is a valid value. Hence Zero and null value
>have there own meaning.
>
>Zero salary can be valid for a director of a company.
>Null value can be valid for a person for whom we don't have any information.
>
>Question here is how should be our data entry screen.

For numeric values you would get a zero whenever a textbox is visited by the user. You could perhaps add a checkbox or a button next to it, which, when clicked, would put a .null. into the controlsource of the textbox. Or, if possible, you could teach your users to press ctrl+0 (zero on main keyboard, not the numeric pad) when they want a null.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform