Hi all.
I have a Macro Bilder on the command button "X". The Macro is:
SetTempVar
Name temVarCityID
Expressen = [ cboCity]
OpenForm
Form name fmControl
View Form
Where Condition = [ CityID]=[TempVars]![temVarCityID]
I need to add and "If cboCity is Null then message "Plesase, choose City"
So, I want to this in VBA code. Please, how to do it?
I have a Macro Bilder on the command button "X". The Macro is:
SetTempVar
Name temVarCityID
Expressen = [ cboCity]
OpenForm
Form name fmControl
View Form
Where Condition = [ CityID]=[TempVars]![temVarCityID]
I need to add and "If cboCity is Null then message "Plesase, choose City"
So, I want to this in VBA code. Please, how to do it?