G
Guest
I have a fairly complicated report, based on a query.
In the query, there is an expression which uses Switch to add words to some
underlying data, depending on what that data is, to produce a field I call
"AltWds".
This is working fine, if I run the query by itself.
In the detail field of the report, I have an unbound textbox with the
Control Source
=IIf([CtDetails]=1,Null,[AltWds])
For some reason, this is returning, for all details, the value it should
have for the first Detail.
I have another unbound textbox in the same field with the control Source
=IIf([CtDetails]=1,Null,[AltDesc])
This is working just fine. The only difference I can see is that the first
is based on an expression in the query while the second is based on
underlying table data. But that shouldn't make a difference, should it? Can
anyone help me out here?
Thanks in advance.
In the query, there is an expression which uses Switch to add words to some
underlying data, depending on what that data is, to produce a field I call
"AltWds".
This is working fine, if I run the query by itself.
In the detail field of the report, I have an unbound textbox with the
Control Source
=IIf([CtDetails]=1,Null,[AltWds])
For some reason, this is returning, for all details, the value it should
have for the first Detail.
I have another unbound textbox in the same field with the control Source
=IIf([CtDetails]=1,Null,[AltDesc])
This is working just fine. The only difference I can see is that the first
is based on an expression in the query while the second is based on
underlying table data. But that shouldn't make a difference, should it? Can
anyone help me out here?
Thanks in advance.