简体   繁体   中英

Adding a new field to existing Crystal report from a new table not already in the report

I have a existing crystal report with a query and a few tables already selected and some fields from those tables on the report.

Now I want to add a new field (p.price) on the same report, from a new table (item_price) that is not already in the report and that has some query logic behind it like:

select  i.rrp_price, p.price from ITEM i
inner join ITEM_PRICE p on i.item_code = p.item_code 
 and  price_type = 'P1' and break_count = 0

I am using VS 2010 and the Crystal Reports functionality of it.

您不仅可以编辑原始基础查询以包括所需的额外字段吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM