hardik_088
Registered User.
- Local time
- Yesterday, 21:22
- Joined
- May 31, 2011
- Messages
- 82
hi guys,
I have form that contain three textbox,combobox and button.
I want that user must have to choose value from combobox or if combobox is empty and you clicked on button you should get message that you must have to choose value from combo box.
so whata i have to do.
i tried this on button click event .but it did,'t work
If (Forms!Form_Name![Combobox_Name].value = null) then
msgbox "You must have to choose value"
End If
----------------And------- this also-----------
If (Forms!Form_Name![Combobox_Name].value = " ") then
msgbox "You must have to choose value"
End If
Thanks a Lot
I have form that contain three textbox,combobox and button.
I want that user must have to choose value from combobox or if combobox is empty and you clicked on button you should get message that you must have to choose value from combo box.
so whata i have to do.
i tried this on button click event .but it did,'t work
If (Forms!Form_Name![Combobox_Name].value = null) then
msgbox "You must have to choose value"
End If
----------------And------- this also-----------
If (Forms!Form_Name![Combobox_Name].value = " ") then
msgbox "You must have to choose value"
End If
Thanks a Lot