G
Guest
I have this query and it works fine:
B: Concatenate("SELECT A FROM abc WHERE Pal =" & [Pal])
Now I want to add two more criteria in it, so that it will
concatenate A with its right group where custcode, boxnr n
pal is matched, then it concatenate A..
A custcode boxnr B
--------------------------------
aa 01 b1 aabb
bb 01 b1 aabb
cc 02 c1 ccddee
dd 02 c1 ccddee
ee 02 c1 ccddee
ff 03 d1 ff
B: Concatenate("SELECT A FROM abc WHERE Pal =" & [Pal]
and custcode =" & [custcode] and boxnr =' & [boxnr])
Can anyone tell me what I did wrongly?
Thanks in advance
B: Concatenate("SELECT A FROM abc WHERE Pal =" & [Pal])
Now I want to add two more criteria in it, so that it will
concatenate A with its right group where custcode, boxnr n
pal is matched, then it concatenate A..
A custcode boxnr B
--------------------------------
aa 01 b1 aabb
bb 01 b1 aabb
cc 02 c1 ccddee
dd 02 c1 ccddee
ee 02 c1 ccddee
ff 03 d1 ff
B: Concatenate("SELECT A FROM abc WHERE Pal =" & [Pal]
and custcode =" & [custcode] and boxnr =' & [boxnr])
Can anyone tell me what I did wrongly?
Thanks in advance