Calling a function

J

Junior

I have a parameter query (based on IDfield in a data entry form)
the query passes values to a function - the function checks the variables
and opens a msgbox if there is a problem with the data entry.
Now- how do i call this function or query from the data entry form so that
the msg box will display and not the query results.?
 
C

Chris

Imbed it in you Function with an IF statement.

If this = that then
msgbox "message"
end if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top