String condition

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi all,
I have combo box with 2 options: Standing or Special
I have a problem to put that combo box contant in an IF statment.
what is the right way to write:

If combobox = Special then......

TIA,

Tom
 
Hey Tom,

You should be able to just put:

If Me.cboBoxName = "Special" then
'Whatever you want it to do
Else
"Whatever you want it to do if the cboBox does not = "Special"
End If

HTH
Shane
 
Thanks.
shanesullaway via AccessMonster.com said:
Hey Tom,

You should be able to just put:

If Me.cboBoxName = "Special" then
'Whatever you want it to do
Else
"Whatever you want it to do if the cboBox does not = "Special"
End If

HTH
Shane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top