> I have four textbox listed on the form(DaysOfOperation,
> HoursStart, HoursFinish, PrimaryOther) along with one combo
[quoted text clipped - 18 lines]
> allows the other 3 textboxes to be blank. How can I get the
> other 3 to be required as well. Thanks.
just add three similar tests (one for each field.
The second would be
If IsNull(Me!DaysOfOperation.Value) Then
MsgBox "Must Enter Days of operation!!"
Me!DaysOfOperation.SetFocus
Cancel = True
End If
The next test would start....
If IsNull(Me!HoursStart.Value) Then
......
.....
You can figure them out.

Signature
Bob Quintal
PA is y I've altered my email address.
fong.yang@martecgroup.com - 15 Apr 2006 23:33 GMT
I've added the three tests. Still the only one that is working as a
required field is just PrimaryOther. The other three textboxes can
still be left blank. The three textboxes are just textboxes. They are
not part of any combo boxes or anything. Thanks.
Bob Quintal - 15 Apr 2006 23:49 GMT
> I've added the three tests. Still the only one that is
> working as a required field is just PrimaryOther. The other
> three textboxes can still be left blank. The three textboxes
> are just textboxes. They are not part of any combo boxes or
> anything. Thanks.
instead of
If IsNull(Me!DaysOfOperation.Value) Then
try
If len(me!daysofoperation & "") = 0
MsgBox "Must Enter Days of operation!!"
Me!DaysOfOperation.SetFocus
Cancel = True
End If

Signature
Bob Quintal
PA is y I've altered my email address.
fong.yang@martecgroup.com - 16 Apr 2006 01:05 GMT
I get a compile error Expected: Then or go to when I enter the above
code.
Bob Quintal - 16 Apr 2006 10:54 GMT
> I get a compile error Expected: Then or go to when I enter the
> above code.
If len(me!daysofoperation & "") = 0 THEN
Please try to set your newsreader to quote what you are replying
to.

Signature
Bob Quintal
PA is y I've altered my email address.
fong.yang@martecgroup.com - 15 Apr 2006 23:33 GMT
I've added the three tests. Still the only one that is working as a
required field is just PrimaryOther. The other three textboxes can
still be left blank. The three textboxes are just textboxes. They are
not part of any combo boxes or anything. Thanks.