Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving a null text field which bound to a date field
Message
De
04/11/1997 01:59:49
Chew Houng Low
Mbf Information Services Sdn. Bhd.
Kuala Lumpur, Malaisie
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Saving a null text field which bound to a date field
Divers
Thread ID:
00058103
Message ID:
00058103
Vues:
92
I have a problem when I try to save a null date into database.
This is the scenario:

Create a Access database with a table in it.
The table has a date field(Required property set to no).
Add a few date record into it: eg 1/1/90, 1/2/90, 1/3/90

Create a VB form and put a data control onto the form
Create a text field that bound to the date field in the data control.
Create a command button that contain the following command:
data1.updaterecord

Run the project and move the current record to 1/2/90 and
delete the contains of the field and press the command button.

An error: Data conversion error occured.

Can anyone help me to solve the above problem?
Low Chew Houng
MBf Information Services Sdn. Bhd.
Subsidiary Of MBf Group Of Companies
chewhoung@yahoo.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform