You can use < pre> < /pre> tags (w/o spaces) to preserve code formatting
You shoul give your nessages meaningfull titles that describle the problem.
>Any ideas why this code is not working thanx for the help. > >Defined varibles
>
>IFEMPTY(Alltrim(txtBox_date.value)) .and. Empty(ccombobox1.Value) then
> MESSAGEBOX("Please enter somthing in both fields")
>else
>
> Excute code.
>
>endif