Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Required field

Status
Not open for further replies.

vangx222

Technical User
Jun 6, 2007
36
US
Is there anyway to make a field on a form required BEFORE any data can be entered into the other fields? I've been having a pop-up message as a reminder, but that gets really annoying because it pops up EVERYTIME I open the form.

Ex. I have a database based on Patients, Patient Visit Date, and Patient exam results. If I DON'T enter in the Visit Date first and start entering data into the exam result subforms first, the data DOES NOT relate to the patient.

However, if I enter in the Visit Date FIRST, then it DOES relate to the patient. Kinda weird, I have no idea where the missed relationship is, but I just thought that maybe if I made the Patient Visit Date required first then that would be ok for now.

Help anyone?
 
Set the [Patient Visit Date] control to required and set the focus to it in the Current event procedure of the form.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top