J
Jen
Hello. My subform disappears when it's query is null (which make sence I
guess). However, on this subform I have only one textbox that counts the
values retrieved by the query (recordsource for textbox would be like
"=Count(some_value_in_the_query)". If the query is null then this textbox
shouln't disappear, instead it should show the value "0".
I have tried various Nz(), IIf.., on the textbox but now I realize that
couln't help me. They should somehow be in the query; if the query retrieves
null then it instead should retrieve _something_ so that the query would not
be null, thus making the textbox disappear. I hope I maky any sence at all
here, would be glad to try to clarify what I mean if someone would ask.
The query:
SELECT fakturor.fakturanr, qry_kritisk.kritisk
FROM qry_kritisk INNER JOIN fakturor ON qry_kritisk.fakturanr =
fakturor.fakturanr
WHERE (((qry_kritisk.kritisk)<Date()));
Jen
guess). However, on this subform I have only one textbox that counts the
values retrieved by the query (recordsource for textbox would be like
"=Count(some_value_in_the_query)". If the query is null then this textbox
shouln't disappear, instead it should show the value "0".
I have tried various Nz(), IIf.., on the textbox but now I realize that
couln't help me. They should somehow be in the query; if the query retrieves
null then it instead should retrieve _something_ so that the query would not
be null, thus making the textbox disappear. I hope I maky any sence at all
here, would be glad to try to clarify what I mean if someone would ask.
The query:
SELECT fakturor.fakturanr, qry_kritisk.kritisk
FROM qry_kritisk INNER JOIN fakturor ON qry_kritisk.fakturanr =
fakturor.fakturanr
WHERE (((qry_kritisk.kritisk)<Date()));
Jen