I
Ixak
Hello
I wrote this message:
<<<<<<<<<<<<<<<
Hello,
What I´d like to do is to delete or not to print a data in a label depending
a criteria.
For example:
if visa.text = "0?" then
visa.text =""
end if
Something like that.
Where visa is a label from the report. I try to write this code on the open
event from the report but it doesn´t work. How could I do something like
this?
Thank a lot
I am using access 2003 pro
And I receive two answers:
1.- Third, for something this simple, you don't need any code.
Just set the text box's control source to an expression
like:
=IIf(visa Like "0?", "", visa)
or
=IIf([visa] = "0?", Null, "Some Caption Text")
But I don´t get with the solution. The program says that the expression I
wrote has a not valid syntax.
I have use both, a label and a textbox, but non of them are working.
Thank you very much beforehand
I wrote this message:
<<<<<<<<<<<<<<<
Hello,
What I´d like to do is to delete or not to print a data in a label depending
a criteria.
For example:
if visa.text = "0?" then
visa.text =""
end if
Something like that.
Where visa is a label from the report. I try to write this code on the open
event from the report but it doesn´t work. How could I do something like
this?
Thank a lot
I am using access 2003 pro
And I receive two answers:
1.- Third, for something this simple, you don't need any code.
Just set the text box's control source to an expression
like:
=IIf(visa Like "0?", "", visa)
or
=IIf([visa] = "0?", Null, "Some Caption Text")
But I don´t get with the solution. The program says that the expression I
wrote has a not valid syntax.
I have use both, a label and a textbox, but non of them are working.
Thank you very much beforehand