
Originally Posted by
orange
My first comment is in regard to your naming convention. If you have to maintain this, or -especially if anyone but you has to maintain this- using names that describe the purpose of Comboboxes and buttons is extremely helpful.
How would you rate
Command3 with something like btnAddEditDataForCCRP
You can check for the presence of a value in cboCounty and cboPractice before offering to Open second form.
Along the lines, or similar functionality
(untested air code for concept only)
If Nz(me.cboCounty,"") ="" then
msgBox --you must select a County
end if
If Nz(me.cboPractice,"") ="" then
msgBox --you must select a Practice
end if
--only after selections have been made does the logic flow to open the second form.