I have a combo box cbolist, I want the user to not be able to have a blank entry otherwise it runs a report on all entries which takes considerable time.
Any ideas ?
Wherever you have the code to open the report, try:
If IsNull(Me![cbolist]) Then
MsgBox("You must choose an option to view report"
Else
' Whatever you do to open report
End If
=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)
Robert L. Johnson III
MCSA, CNA, Net+, A+
w: rljohnso@stewart.com
h: wildmage@tampabay.rr.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.