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
03/05/1998 04:27:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096512
Message ID:
00096575
Vues:
14
Thanks, you helped me.

>Free Tables do not have field or row level rules. You can make the Valid() mehots of the date textbox in the grid return ! empty( this.Value )
>
>> 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform