J
Jean-Paul De Winter
Hi,
Hope I can explain this in a clear way...
I have a form with some listboes and a subform.
Th subform is based upon a query
the SQL from the query is:
Select patienten.naam, patienten.afdeling from patienten where
(((patienten.afdeling)=forms!rapporten!afdeling));
afdeling is the name of a listbox on the form.
When opening the form, nothing is displayed in the subform
When I open the subform I am asked to enter what should be found in the
listbox, I get what I
want.
It looks like the query is run before the form is actually opened so nothing
is found in the
listbox.
How should I solve this problem??
Thanks
Hope I can explain this in a clear way...
I have a form with some listboes and a subform.
Th subform is based upon a query
the SQL from the query is:
Select patienten.naam, patienten.afdeling from patienten where
(((patienten.afdeling)=forms!rapporten!afdeling));
afdeling is the name of a listbox on the form.
When opening the form, nothing is displayed in the subform
When I open the subform I am asked to enter what should be found in the
listbox, I get what I
want.
It looks like the query is run before the form is actually opened so nothing
is found in the
listbox.
How should I solve this problem??
Thanks