Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crosstab query doesn't bring all fields

Status
Not open for further replies.

oyam

Programmer
Jan 17, 2001
9
US
Hi,

I have a crosstab query that runs well in Access, brings some of data when run in ASP, but not all the data.
The query:

SELECT TBLE, ADJ_CODE,
SUM(DECODE(DAY, '01-MAY-01', ext_val)) "01-MAY-01",
SUM(DECODE(DAY, '02-MAY-01', ext_val)) "02-MAY-01",
SUM(DECODE(DAY, '03-MAY-01', ext_val)) "03-MAY-01",
.
.
SUM(EXT_VAL) "TOTAL"

from....

In Access, I get numbers for every column, but in ASP I get only the TOTAL numbers. Any ideas?

Thanks,

Osher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top