C
cutthroatjess
Greetings,
Here is my sql statement from a select query that queries a crosstab query.
SELECT [test 10day_Crosstab].Dateofcoldate, [test 10day_Crosstab].PMSC_TDS,
CDate([dateofcoldate]) AS formatdate,
IIf(IsError([tds])=True,[pmsc_tds],IIf(IsNull([tds])=False,Round([tds],0),Round([pmsc_tds],0))) AS acceptedtds
FROM [test 10day_Crosstab]
ORDER BY CDate([dateofcoldate]);
The problem is, as I've tried to correct with the iserror function, is that
the field [tds] sometimes shows in the crosstab and other times not. When it
doesn't it gives an error. I need to somehow build in an exception for when
[tds] isn't there and just have it use what is.
Any Ideas?
Thanks!
Jesse
Here is my sql statement from a select query that queries a crosstab query.
SELECT [test 10day_Crosstab].Dateofcoldate, [test 10day_Crosstab].PMSC_TDS,
CDate([dateofcoldate]) AS formatdate,
IIf(IsError([tds])=True,[pmsc_tds],IIf(IsNull([tds])=False,Round([tds],0),Round([pmsc_tds],0))) AS acceptedtds
FROM [test 10day_Crosstab]
ORDER BY CDate([dateofcoldate]);
The problem is, as I've tried to correct with the iserror function, is that
the field [tds] sometimes shows in the crosstab and other times not. When it
doesn't it gives an error. I need to somehow build in an exception for when
[tds] isn't there and just have it use what is.
Any Ideas?
Thanks!
Jesse