I have the following criterium in an select query:
IIf(IsLoaded("FView Records"
;[Forms]![FView Records]![Material_nr];[Forms]![FView Specification]![NrField])
What I want to do is check with the IsLoaded function if the form "FView Recorrds" is loaded. If so, the IIf function should return a value of the "FView Records" form and otherwise it should return a value of the "FView Specification" form.
The problem is, when I run this, the IIf function does ask for both True and False functions. The function only uses one of the values, but it asks for both values. And I don't want that.
Can anybody help me with this problem?
IIf(IsLoaded("FView Records"
What I want to do is check with the IsLoaded function if the form "FView Recorrds" is loaded. If so, the IIf function should return a value of the "FView Records" form and otherwise it should return a value of the "FView Specification" form.
The problem is, when I run this, the IIf function does ask for both True and False functions. The function only uses one of the values, but it asks for both values. And I don't want that.
Can anybody help me with this problem?