Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date entry
Message
De
06/11/1997 16:12:14
 
 
À
06/11/1997 16:06:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00058721
Message ID:
00058725
Vues:
34
>>I have an application that requires the date entered in the database to be equal to or 2 days ahead of the current date. For the life of me I can't seem to get the filter on the database to be configured for the right syntax.
>>
>>Anyone have a suggested code for the filter on the field validation rule?
>>
>>Thanks, Brad
>
>What do you mean by filter? To have a date field in the database default to 2 days from today, put date() + 2 in the default value.
I Just read the question more carefully and I think I understand. In the field validation rule, put:
table.date<=(DATE()+2).AND.table.date=>DATE()

This will play funny tricks on you though, unless no records stay in the table for more than 2 days. Are you sure that that is what you want?
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform