In this project I've got query [q_Check_CHILDREN_NUM_vs_YIZKOR_2013] based on few tables:
1- with 73703 unique IDs [All_IDs2],
2- names of people that belongs to this ID's [t_FNs_RESULT],
3- status of these people [t_STATUS_RESULT], & so on.
Which in the end includes 7 specific IDs (rows) in which I intresteed.
For further examination, I need to see in front of me not only these IDs, but also one (or two) before & one (or two) after these IDs.
As I understood it, I should use between function... So I take & join the [All_IDs2] in one to many connection to the query [q_Check_CHILDREN_NUM_vs_YIZKOR_2013]. Suppose to be:
Expand|Select|Wrap|Line Numbers
- Between ([q_Check_CHILDREN_NUM_vs_YIZKOR_2013].[ID]-1)
- And ([q_Check_CHILDREN_NUM_vs_YIZKOR_2013].[ID]+1)
So I need to combine it somehow with:
Expand|Select|Wrap|Line Numbers
- IIf([q_Check_CHILDREN_NUM_vs_YIZKOR_2013].[ID]= Null, [All_IDs2].[ID])
Someone please can give me another, better option, that works?
Actually I already made it by some heavy & really not elegant way, but I really want to know if there's some other way.