Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to not allow the users to enter empty date in a grid?
Message
De
02/05/1998 12:37:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to not allow the users to enter empty date in a grid?
Divers
Thread ID:
00096512
Message ID:
00096512
Vues:
51
Dear all,

In a form, I have a grid(grid1) which contains a free table(table1). The first field is date. After I set:

thisform.grid1.readonly=.f.
select table1
append blank

The user can input data to this free table. If he inputted an empty data to the date field, my VFP software will have problems. So I want to not allow the user to input an empty date. He must enter a date before he save the tabel or move the cursor to the other field in the table. How can I do that?
I have tried to make a database and add this table on it so that I can add ".not.empty" in the Field Validation. But I will have other problems if I use a database at this stage. I cannot find the Field Validation box in the Table Designer if my table is a free table but I can find it if my table is under a database. I don't know why.
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform