Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Money, numeric values
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01520997
Message ID:
01521012
Vues:
49
Robert,

>Hello. I have an application where the users can input a $0.00 value. I've tried Numeric(10,2) and Money as the data types, but it still says it cannot save the dataset becuase Cost is required. $0.00 is a valid input value.

When generating your business layer, you can select your currency column in the Business Layer Generator and select the "Allow Empty Value" check box. This generates business logic code that allows an empty value for required columns.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform