J
Jen
I have a form with a query (qry_alarm) as recordsource. The query often has
multiple values in the query column "fakturanr".
On this form I need a commandbutton when, as clicked, by stLinkCriteria or
similar opens a second form filtered to show only records matching the
fakturanr from the first forms recordsource/ query.
If I write
stLinkCriteria = "fakturanr=114" the second form opens ok filtered to show
only the record 114
My problem is how to pass the value(s) "fakturanr" from the first forms
recordsource/ query to the form being opened/filtered.
I tried putting a combobox with it's recordsource as the query (fakturanr),
but then the second form opens filtered to just the one "fakturanr" that was
selected when hitting the button (now with the stLinkCriteria =
"fakturanr=me![combo_box_containing_fakturanr]).
How do I pass all the "fakturanr" values to the second form? I have fiddled
with loads of variations to get the value passed, even some loop...
experiments but without success.
Jen.
multiple values in the query column "fakturanr".
On this form I need a commandbutton when, as clicked, by stLinkCriteria or
similar opens a second form filtered to show only records matching the
fakturanr from the first forms recordsource/ query.
If I write
stLinkCriteria = "fakturanr=114" the second form opens ok filtered to show
only the record 114
My problem is how to pass the value(s) "fakturanr" from the first forms
recordsource/ query to the form being opened/filtered.
I tried putting a combobox with it's recordsource as the query (fakturanr),
but then the second form opens filtered to just the one "fakturanr" that was
selected when hitting the button (now with the stLinkCriteria =
"fakturanr=me![combo_box_containing_fakturanr]).
How do I pass all the "fakturanr" values to the second form? I have fiddled
with loads of variations to get the value passed, even some loop...
experiments but without success.
Jen.