Simple one for someone. How do I check multiple editboxes to see if the are empty
----------------
if editbox1.text or editbox2.text or editbox3.text
then begin
showmessage('please fill in required fields');
end;
else
begin
//do something
end;
Are you using this code in an event handler? If so which one?
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.