0
某些领域
我的查询:水晶报表不显示从查询
SqlDataAdapter daaa = new SqlDataAdapter("SELECT DISTINCT inq.InquiryId,inq.Inquiry_Date,inq.Factor_Code,inq.CustomerName,"+
"inq.TermsPayment,inq.DeliveryTime,trd.TrCellType from inquiry AS inq LEFT JOIN inquiryjoin " +
"ON inq.InquiryId = inquiryjoin.InquiryId " +
" LEFT JOIN traditional AS trd " +
"ON trd.TraditionalId = inquiryjoin.TId " +
" LEFT JOIN compact " +
"ON compact.CompactId = inquiryjoin.TId " +
" LEFT JOIN air " +
"ON air.AirId = inquiryjoin.TId where " +
"inq.Inquiry_Date = N'" + stdate + "' " +
" ORDER BY inq.InquiryId", Conn);
(trd.TrCellType)在报告中不显示?
你曾经测试您的数据库中查询?你看到所有的田野吗? – Hamidreza
在xml数据集中是否有trd.celltype,或者您是否在报告中给出了任何公式 – ShaQue
是的,我使用Sql server进行了测试并且是正确的 – Mostafa