iif CONDITION

  • Thread starter Thread starter Roberto Giussani
  • Start date Start date
R

Roberto Giussani

How to show or hide an image or a text box connected to a lif condition
???

iif(number=0;image A;imageB)

Thanks - Ciao !

Roberto
 
NameOfTextBox.Visible = (number=0) 'make visible if number is 0
NameOfTextBox.Visible = (number<>0) 'make visible if number is not 0

NameOfImage.Picture = Iif(number=0, image1, image2)
where image1 and image2 are strings containing the paths to a graphic file.
 

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

Similar Threads

iif condition 2
IIF Condition 5
Conditional Prompting for Parameter? 3
Put 2 Where Conditions together? 7
incorrect IIF condition 4
Conditional criteria in a query 4
Sum IIF 3
If Statements 3

Back
Top