Validation Question

ksmithson

Registered User.
Local time
Today, 16:38
Joined
Jul 14, 2010
Messages
11
I am trying to validate data that when the user goes to the form and goes from report #1 to report #2 is there are any nulls from report #1 it will not let them move on. Before and After Update requires that data has to be chnaged, right? What can I do to force validation if no data was entered and the report was skipped completely?
 
Are you calling your text box's "report #1 & #2"?

You can set validation up so that a user cannot move to another record or field [text box] or open a report, etc. if a field is null. Use the forms Before_Update event to trap it. Search the forum for there are plenty of example coding and suggestions with more specifics. The Before_Update events will only fire if the current record has just been modified or is a new record.
 
All of it was covered in the thread. Bob mentioned the Before Update event. Use the form's Before Update event. See your third thread regarding the amended code.
 
Okay, I can see where there might be a difference in what is trying to be accomplished but I think we need more information again. What do you mean Report #1 and Report #2 (when moving from record to record)? I think a screenshot or two might help us understand your use of the form.
 

Users who are viewing this thread

Back
Top Bottom