Topic: Numbering controlled Posted: 22 Apr 2009 at 1:46pm
Greetings,
A report by generating a new and unique serial number for each print section of the report header. The report header is printed for every 100 records in detail. As the number of registers is finite and it is always the same (not added or deleted entries). His impression is always the same.
How can I generate this in a controlled variable from CrystalReport for VS2008.net beginning with 1 and incremented by 1 for every 1 Report Header is printed?
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 23 Apr 2009 at 6:23am
sounds like you could use a shared variable that is incremented in the report header...every time the report header is displayed, the shared variable is incremented and displayed.
Wait...Report header is only called once per report, so how are getting the report header to be printed every 100 items of detail...
Indeed the Report Header is printed only once. I put my header on the form to the Page Header and then apply a condition for Supress 100 records to be displayed only when appropriate.
This way I get the report in the way I need it. So how to generate the serial number? You speak of a shared variable, can you tell me some examples?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum