Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid Entry message after Valid Event
Message
 
To
25/07/1997 19:14:53
Glenn Mcburney
Doe(Ni) Information Systems Unit
Belfast, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00041746
Message ID:
00041804
Views:
30
>my problem is when the valid event fires in my forms after my own error box appears a system error 'Invalid entry, press space to continue' displays in the main foxpro window and locks the screen until spacebar is pressed.
>
>This happened previously and was not solved until Windows 95 was re-installed.
>
>It happens in all forms for all foxpro systems on my PC that worked perfectly before and still work OK on all other PC's.
>
>The valid event uses keypress/keycode so field level validation only fires when enter is pressed, the problem does not arise when the valid event is called at form level using a global variable to mimic the field commit.
>
>The only other problem I have had recently which may/may not be related is losing the path to the VFP default resource file for storing screen positions etc.
>
>My own error messages come from the errormessage event then the 'unwanted' error appears.
Glenn,

I suspect that this is on a date field and that you have not SET DATE to yoru format in the Form's Load event. SET DATE is scoped to the data session and it defaults to American, so with date set American {01/31/1997} is Jan 31, but if the user enters {31/01/1997} that is an invlaid date. The Invlaid entry is impossible to surpress for date data types when an invalid date has been entered.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform