将查询的每个结果放在一个新页面中

Put each result of a query in a new page

我有一个查询给出了这个结果:

    Barcode
   ---------
    512364
    012474
    111457

而且我需要在新页面中打印每个结果。

为什么不用 CHR(12) 来做呢? 这是 PAGE-FEED 的硬编码。

I solve my problem at this way:

It is not necessary to create a separate XRBarcode control manually in code for each data row. To accomplish this task, bind your report to your SQL query, put the XRBarcode control into the report's Detail band, and bind the XRBarcode.Text property to the "Barcode" field. After that, set the Detail band's PageBreak property to the 'AfterBand' value so each new BarCode would start on a new page.