>Even though txtbox_date is defined as a textbox which requires user input as a date. When this line below excutes vfp says txtbox_date not found
>
>EMPTY(Alltrim(txtBox_date.value))
As Sergey says, you need both to be empty before the message will fire.
Therefore it should be OR,
Think of it logically: "If this isn't filled or that isn't filled then I need to tell the user to fill both"
As it stands, the message will only fire if BOTH are empty.
BTW ("Please enter som
ething in both fields") - there's an "e" in "something"
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.