nosrepmynona
New member
- Local time
- Today, 08:32
- Joined
- Apr 25, 2020
- Messages
- 6
Hi,
Maybe I don´t use correct defintion to describe, but I hope you understand what I mean.
I have made two queries and each query are linked to separate tables. Each table has relations to one other table, but they are not the same. In each query I can specify my question via msg box using "[...]" in the criteria field. Both queries has the same column asked from, for example in table 1 type a specific postcode number end a table is shown with specific data. In query 2 I type the same postcode and other info is shown.
Now, I would lika to make a form with a form field so I only need to type the postcode once there, and table 1 and table 2 is shown as a form and a subform. I hope you can point me in the right direction like, do I need to type VBA-code to make it happend and so on. I´ve managed to do two separat forms, but I can't make it work with a form and a subform.
Maybe I don´t use correct defintion to describe, but I hope you understand what I mean.
I have made two queries and each query are linked to separate tables. Each table has relations to one other table, but they are not the same. In each query I can specify my question via msg box using "[...]" in the criteria field. Both queries has the same column asked from, for example in table 1 type a specific postcode number end a table is shown with specific data. In query 2 I type the same postcode and other info is shown.
Now, I would lika to make a form with a form field so I only need to type the postcode once there, and table 1 and table 2 is shown as a form and a subform. I hope you can point me in the right direction like, do I need to type VBA-code to make it happend and so on. I´ve managed to do two separat forms, but I can't make it work with a form and a subform.