>Any ideas why this code is not working thanx for the help.
>
>Defined varibles
>
>IF EMPTY(Alltrim(txtBox_date.value)) .and. Empty(ccombobox1.Value) then
>
>MESSAGEBOX("Please enter somthing in both fields")
>
>else
>
>Excute code.
>
>endif
In what way is it not working? You mean both are empty but the msgbx doesn't fire? Or what?
- 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.