The following code below is producing this error....
"The macro of function set to the BeforeUpdate or ValidationRule property for this field is preventing Microsoft Access from saving the data in the field"
I know its blowing up on setting cboEventLocation.text But I don't know why. Any ideas?
txtEventAddress = DLookup("Location_Address", "tblLocation", "Location_Name = cboLocation ")
txtEventCity = DLookup("Location_City", "tblLocation", "Location_Name = cboLocation ")
medEventZip = DLookup("Location_Zip", "tblLocation", "Location_Name = cboLocation ")
cboEventCounty.SetFocus
cboEventCounty.Text = DLookup("Location_County", "tblLocation", "Location_Name = cboLocation ")
________
Oregon marijuana dispensary
"The macro of function set to the BeforeUpdate or ValidationRule property for this field is preventing Microsoft Access from saving the data in the field"
I know its blowing up on setting cboEventLocation.text But I don't know why. Any ideas?
txtEventAddress = DLookup("Location_Address", "tblLocation", "Location_Name = cboLocation ")
txtEventCity = DLookup("Location_City", "tblLocation", "Location_Name = cboLocation ")
medEventZip = DLookup("Location_Zip", "tblLocation", "Location_Name = cboLocation ")
cboEventCounty.SetFocus
cboEventCounty.Text = DLookup("Location_County", "tblLocation", "Location_Name = cboLocation ")
________
Oregon marijuana dispensary
Last edited: