Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to blank date in grid?
Message
 
À
19/08/1998 20:43:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00128332
Message ID:
00128399
Vues:
22
>>I am trying to warn the user when they post-date the date entered in my grid. In addition to the warning, I want to blank out the date. I've put the following in the VALID EVENT of the text box:
>>
>>IF This.value > DATE() AND NOT EMPTY(This.Value)
>> =MESSAGEBOX("Tou may NOT Post-Date Submittals!"+CHR(13)+"Verify date is today's - or blank - date.",16+0,"Warning")
>> This.Value = {//}
>> RETURN .F.
>>ENDIF
>>
>>It all works - EXCEPT THE ENTERED DATE IS NOT BLANKED! What might I be doing wrong?
>>
>>TIA
>
>I once ran into this and finally traced it to the textbox's text property was not staying coordinated with its value. I don't know what causes this, but I got around it with
>
>this.text = ""
>
>I am curious to know if this solves your problem.

No = that didn't do it. This is kinda wierd. I'll try with variations on the theme.
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform