hi huwr....
sad to say, the code you gave above is not working.... :(
heres what i did:
'############################## Group Cat MoD #####################################
if Cat_ID <> "" then
strSql = strSql & " WHERE CAT_ID = " & Cat_ID & "AND CAT_ID <> 5"
else
if Group > 1 and strGroupCategories = "1" then
strSql = strSql & " WHERE (CAT_ID = 0"
if recGroupCatCount <> "" then
for iGroupCat = 0 to recGroupCatCount
strSql = strSql & " or CAT_ID = " & allGroupCatData(1, iGroupCat)
next
end if
strSql = strSql & ") AND CAT_ID <> 5"
end if
end if
'############################## Group Cat MoD #####################################
and
'############################## Group Cat MoD #####################################
if Cat_ID <> "" then
strSql = strSql & " WHERE F.CAT_ID = " & Cat_ID & "AND CAT_ID <> 5"
else
if Group > 1 and strGroupCategories = "1" then
strSql = strSql & " WHERE (F.CAT_ID = 0"
if recGroupCatCount <> "" then
for iGroupCat = 0 to recGroupCatCount
strSql = strSql & " OR F.CAT_ID = " & allGroupCatData(1, iGroupCat)
next
end if
strSql = strSql & ") AND CAT_ID <> 5"
end if
end if
'############################## Group Cat MoD #####################################
any more ideas?.... :)
thanks for ur time..... :)