Chapter 6, page 190, frmPayments
Hi everyone,
My first post here.
I was trying the exercise to adding data validation to the frmPayments Form.
I noticed that when the form first loads, if you just press return in the txtValue field, it doesn't pop up with the "you must specify a value for this field" message.
The message will only work if you try it in the order like the book...i.e. enter a value of some sort, then try the blank value.
This holds true for both the code I wrote, and the downloadable sample from this site.
Is there a way I can modify the code so that even when it first loads, it won't take a null entry?
Thanks!
|