markdooler
Member
- Local time
- Today, 17:23
- Joined
- Nov 25, 2020
- Messages
- 58
Ok so this is a complicated one so i will do my best to explain
So i have a table called tblDaySheet
This is all my master data that spans data from 6 different sites.
This table has 2 fields that i want to reference, WIPNumber and Site
i also have 6 other tables labelled tblRB51, tblRB52, tblRB53, tblRB54, tblRB55, tblRB56.
These tables all have 1 field named WIPNumber
The reason i have these 6 tables is the fact that the 6 different sites need to input 1 field of data from an external system. This data is specific to site and there is no other way of me getting it into the database without manual input. (i have already created this function and it is working.
SO.......
In a query, i would like to get the query to look at Site in tblDaySheet, then go and look at that sites tblRB5 and look for the WIPNumber. If the WIPNumber does not appear in both tables, i want it to exclude it from the query output.
Any ideas?
So i have a table called tblDaySheet
This is all my master data that spans data from 6 different sites.
This table has 2 fields that i want to reference, WIPNumber and Site
i also have 6 other tables labelled tblRB51, tblRB52, tblRB53, tblRB54, tblRB55, tblRB56.
These tables all have 1 field named WIPNumber
The reason i have these 6 tables is the fact that the 6 different sites need to input 1 field of data from an external system. This data is specific to site and there is no other way of me getting it into the database without manual input. (i have already created this function and it is working.
SO.......
In a query, i would like to get the query to look at Site in tblDaySheet, then go and look at that sites tblRB5 and look for the WIPNumber. If the WIPNumber does not appear in both tables, i want it to exclude it from the query output.
Any ideas?