Hello AccessForums. I am new to the site.
I'm in bit of a pickle and anyone who can solve this for me I will be greatly indebted to. I have two tables: Actual and Schedule. My job is to compare these two tables, look for gaps, and fill them in a new table (append). Important point: tbnum corresponds to timeband. It's something I came up with to identify gaps easily. It's not binding though and I'll remove it later. I have created these sample tables:
End Result:
There are 2 scenarios
1) JFKATL: there is a match in Actual table, so bring the original record for JFKATL from Schedule as well as from Actual for the missing JFKATL record into NewTable
2) ORDSLC: there is no match in Actual table, but there is an apparent "gap" in timeband. So extend the timeband for the unmatched record and paste it in NewTable
Thank you AccessForums community.