Good Afternoon All.
I have a question - believe it might be something simple and I'm just not "seeing it."
I keep track of over 1K personnel - I want to run a query that gives me an alpha roster (all 1K by name etc). The roster looks good initially but those positions that are vacant (e.g. I had someone in there and they have since departed) do no show up on the roster. I'm sure the problem centers around the stop date on the junction table. I only want the roster to include those individuals who are currently sitting in a position (stop date is null) or the positions that don't have someone in them at all (start and stop date are null OR start and stop date are past dates) I just don't know how to do that.
I have two tables - a CEDAP position table and a CEDAP junction table that links the names up with the positions. I'm attaching an excel spreadsheet that has a quick snap shot of my two tables....the tables themselves are pretty simple. I must be doing something wrong!
I have a question - believe it might be something simple and I'm just not "seeing it."
I keep track of over 1K personnel - I want to run a query that gives me an alpha roster (all 1K by name etc). The roster looks good initially but those positions that are vacant (e.g. I had someone in there and they have since departed) do no show up on the roster. I'm sure the problem centers around the stop date on the junction table. I only want the roster to include those individuals who are currently sitting in a position (stop date is null) or the positions that don't have someone in them at all (start and stop date are null OR start and stop date are past dates) I just don't know how to do that.
I have two tables - a CEDAP position table and a CEDAP junction table that links the names up with the positions. I'm attaching an excel spreadsheet that has a quick snap shot of my two tables....the tables themselves are pretty simple. I must be doing something wrong!
Comment