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 03:37:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/07/2014 03:36:13
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:
01602940
Vues:
63
>Hi
>
>We have a typical requirement. We use VFP and SQL Server 2008 r2.
>
>Say we have a sql table with 10 fields (Numeric, Char, Bit, Varchar(max) etc.) and they are null allowed.
>
>Our requirement is that how do we manage null. In our frontend interface form
>we will use textbox to accept the information. Each textbox will be initialise
>with either Zero, Space, .t./.f.
>
>The requirement is that if the user does not have a information for a particular
>attribute (field) then it should be saved as null in sql. But if he has the value
>then it should save that value in sql. Even zero can be a valid value.
>
>In all other case we should be able to save the record as null.

And what is the question?

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform