You mean code in a module?? ..a Calculated Field in a query...
Private Sub GoEntry()
If (Not IsNull(txtDate) And Not IsNull(TheShift) _
And Not IsNull(DayOfWeek) And Not IsNull(List2) _
And Not IsNull(List5)) Then
cmdDataEntry.Enabled = True
Else
cmdDataEntry.Enabled = False
End If
End Sub
If you're familiar with IIF, you can nest IIF(s) within a statement for a
Calculated Field.
Does that Help?
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.