dave796
Technical User
- Aug 21, 2005
- 11
Im trying to find unmarked registers from two existing tables.
Registers contains register_id, start_week, end_week so start_week could be 7 and end_week 36 this is all registers setup with unique register_id.
Then marked which conatins register_id, week signifying the register has been marked for that week number. All week numbers are based on academic year so are just integers.
So I thought the easiest way would be to query registers returning a record for each week in the start_week end_week range and then finding the ones which don't exist in marked. However I dont know how to create this recordset. Any help appreciated.
Registers contains register_id, start_week, end_week so start_week could be 7 and end_week 36 this is all registers setup with unique register_id.
Then marked which conatins register_id, week signifying the register has been marked for that week number. All week numbers are based on academic year so are just integers.
So I thought the easiest way would be to query registers returning a record for each week in the start_week end_week range and then finding the ones which don't exist in marked. However I dont know how to create this recordset. Any help appreciated.