Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String problem
Message
 
To
20/09/2004 23:43:42
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00943944
Message ID:
00944425
Views:
14
You can't do that with ordinary TextBox, but in LostFocus You must change the Value of the Text2 to whatever You want:

Text2->LostFocus event
 this.Value = DATE(YEAR(thisform.Text1.Value)-1, MONTH(this.Value), DAY(this.Value))
 this.Refresh()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform