lr145
Programmer
- May 21, 2008
- 11
I am using Visual Foxpro 6.0 and I have set up a field rule in the database container to prevent the user from entering a future date. I have a form button and with 4 grids. The date field I am validating is in one of the grids. As long as I am in the current grid, the field rule in the dbc works if I enter an invalid date. However, when I try to change the focus to another grid or button, I get the error message. Then my focus is changed to the next object, allowing the incorrect value in the grid. When I try to then close the form I will get a program error.
The database tables are not buffered. Is there anyway I can correct this problem?
The database tables are not buffered. Is there anyway I can correct this problem?