G
Guest
I have a crosstab query that sends back a variable number of columns based on
the particular criteria feed to the underlying query...that of course is the
nature of a crosstab. However, if I look for a particular column that is
possible through the recordset index (rs(x).Name="...") AND the value
("....whatever") for a particular column name is NOT returned due to the
particular parameters of this query (e.g., columns are all possible product
codes, and only a subset of these values are returned for a particular sales
person because they only sold certain items in a particular period being
queried), then when the statement IF rs(x).Name="A", for example, is
encountered, an error message is generated, which is "item not found in this
collection". I NEED TO TRAP THIS ERROR SO I KNOW WHEN A PARTICULAR COLUMN IS
OR IS NOT RETURNED IN A CROSSTAB QUERY. This is exactly what I need specific
help with....can ANYONE help me with this?
So far I have gotten several suggestions which are completely off the mark
and the people replying do not seem to understand what I need. CAN ANYONE
HELP...this is a rather straightforward question! THANKS SOOOO MUCH FOR ANY
HELP!!!!
MS
the particular criteria feed to the underlying query...that of course is the
nature of a crosstab. However, if I look for a particular column that is
possible through the recordset index (rs(x).Name="...") AND the value
("....whatever") for a particular column name is NOT returned due to the
particular parameters of this query (e.g., columns are all possible product
codes, and only a subset of these values are returned for a particular sales
person because they only sold certain items in a particular period being
queried), then when the statement IF rs(x).Name="A", for example, is
encountered, an error message is generated, which is "item not found in this
collection". I NEED TO TRAP THIS ERROR SO I KNOW WHEN A PARTICULAR COLUMN IS
OR IS NOT RETURNED IN A CROSSTAB QUERY. This is exactly what I need specific
help with....can ANYONE help me with this?
So far I have gotten several suggestions which are completely off the mark
and the people replying do not seem to understand what I need. CAN ANYONE
HELP...this is a rather straightforward question! THANKS SOOOO MUCH FOR ANY
HELP!!!!
MS