In addition to Dave's suggestion, you may want to put an acceptable default 
value in the data, assuming there is one, because the return .F. in the valid 
will prevent that control from being exited. Which means the user won't be able 
to close the form or even move to any other data entry field on the form.
--
rk

De: Dave Crozier <da...@flexipol.co.uk>
Asunto: RE: Date typed-in problem
Para: "ProFox Email List" <profox@leafe.com>
Fecha: martes, 10 de enero, 2012 12:22


Check for the correct date in the Valid() event of the field and return a 
messagebox() error and then return .F. back so the operator re-enters the data.

Dave C

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of 
Angel Dario Rodriguez
Sent: 10 January 2012 15:26
To: ProFox@leafe.com
Subject: Date typed-in problem

Often, when user type in a date, when the mistakes the day or the month value, 
the program returns a message in the lower line of the window saying "press 
space bar", and until the space bar is pressed, not work, but oftenly the user 
do not read the message and continue trying to type in the once and then the 
program freeze and nothing can be done.
 
Is ther any way to avoid awful problem, that do not freeze when user tray to 
type de date?



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0441D4A5EE0E2@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to