Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strict date problem
Message
 
To
12/01/2000 11:04:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314755
Message ID:
00317089
Views:
18
Lorne,

Your response is confusing.

The suggestion was to use a TextBox in teh dialog. With a textbox there is no need for the user to type in the strictdate format for a date constant, they can simply type the date into the textbox as a date;

With;

SET DATE AMERICAN
SET CENTURY TO 19 ROLLOVER 80

The user types into the textbox:

01/01/00 <=Enter

(this doesn't matter as to whether the SET CENTURY ON or OFF is in use)

The value of the textbox is the date value {^2000/01/01}.

What does this have to do with Strictdate? SET STRICTDATE is an assistant to you in finding code that has questionable data handling in it. If you set it to 0 no checking is done, 1 and constants are checked for the strictdate format, and 2 to check constants and for the use of date fucntions that are dependent on the SET DATE setting.
Previous
Reply
Map
View

Click here to load this message in the networking platform