Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mensagem de erro em TextBox = Data
Message
From
21/12/2004 09:42:38
 
 
To
21/12/2004 09:25:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00970955
Message ID:
00970962
Views:
12
>Tenho um TextBox, classe do próprio Fox, em um Form, com a propriedade Value = {}. Ao digitar a data como 21/12/204, exibe mensagem de erro do fox e quando está utilizando o exe este trava. Configurei o Set Century On e o Set Notify Off. Mesmo assim exibe a menssagem de erro do Fox : Date/datetime evaluated to an invalid value. Como posso proceder?

21/12/204 é invalido. O correto seria 21/12/2004

Outro SET importante para o VFP é o SET STRICTDATE.
A melhor forma de digitar uma data é com o formato não ambiguo: {^2004-12-21}
ou DATE(2004,12,21)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform