General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Revert should be put the field back the way it was, but in my limited testing it blanks the field and then the cursor wont go back into it. The whole routine then crashes with an 'EOF' error message so it appears to me that the undo is operating on my 'append blank' command rather than just on the field. I am using optimistic buffering and the rule fires when I tab out of the field. I was under the impression that these rules did not fire until the record was committed and I was happy with that. On discovering that the rules would file as an equivalent to a field valid I saw the opportunity to remove a lot of validation routine code, but the presence of the Revert botton is completely unwelcome.
One other suggestion may be to put all validation at the record level rather than the field level. Then testing will be done all at once on commit attempt of the record, not each field. Again, you can check the WizStyle txtBtns class for how they handle error trapping...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only