markjenkinsrf
New member
- Local time
- Today, 10:52
- Joined
- Sep 3, 2013
- Messages
- 7
I am trying to open multiple instances of the same form, using the Allen Brown method. I have a master form that contains the Brown prorgamming, which will sucesfully open many copies of the desired form. This form called Layout, uses a query, LayoutQuery, for its Recordsource, this query has two criteria from listboxes on the master form. The query is opened by the master form
When Layout(1) opens, it uses the records from the LayoutQuery. Here the user can look at data from the query with Dlookup calls to the query.
When Layout(2) is opened from the master, it now has the same Layoutquery but with new criteria. This is all working fine.
The problem is, if I return to Layout(1), the Layoutquery has changed to the the Layoutquery(2) and the records are now different than from the original Layoutquery(1).
How can I keep Layout(1) syncronized with Layoutquery(1) after the 2nd form is opened?
I thought about using a Recordset, but I understand that won't work with Dlookups.
Thanks for any help.
When Layout(1) opens, it uses the records from the LayoutQuery. Here the user can look at data from the query with Dlookup calls to the query.
When Layout(2) is opened from the master, it now has the same Layoutquery but with new criteria. This is all working fine.
The problem is, if I return to Layout(1), the Layoutquery has changed to the the Layoutquery(2) and the records are now different than from the original Layoutquery(1).
How can I keep Layout(1) syncronized with Layoutquery(1) after the 2nd form is opened?
I thought about using a Recordset, but I understand that won't work with Dlookups.
Thanks for any help.