How to check if No Value was selected from List-Box without using any built-in Events ?
HiIf you do not use an event, how does Access know you want to know if anything is selected ?MTB
I thought it would be possible to do like that.for example, i click on a button and i write the following code :Expand|Select|Wrap|Line NumbersPublicSubcmd_btn_Click()IfComboBox0.Value=""Then<--thisoranyothermethoddoesn'twork,why?'DosomethingEndIf
The last time I look a button click was classed as an event !Expand|Select|Wrap|Line NumbersIfCombo0.ListIndex=-1ThenMsgBox"NoSelection"ElseMsgBox"Item"&Combo0.ListIndex&"Selected"EndIfShould do it?ListIndex is Zero based.MTB
Sign in to post your reply or Sign up for a free account.