Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reset record number of a crystal report at the page break

Reset record number of a crystal report at the page break

Scheduled Pinned Locked Moved C#
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    q2sampath
    wrote on last edited by
    #1

    I wanted to reset the record number on beginning of odd page numbers (Not applying to the page number 1) to immediate previous even page beginning record number. Ex. if page 2(even page number) starts with record number 1, then I wanted to reset the record number to 1 in the next odd page number (i.e. 3). Similarly if page 4(next even page number) starts with record number 26, then I wanted to reset the record number to 26 in the next odd page number (i.e. 5). This should continue through out the report. Is it possible do this? :( Please comment on this. Or anybody have any idea to display lengthy records (Which has several columns) runs up to 2 A4 papers in continuous order. Ex. Assume it show 25 records in the first page and remaining columns same 25 records in the next page. Then it should show the records from record number 26 at the next page. This should continue through out the report. :( Thank you in advance. :-D Sam J

    S 1 Reply Last reply
    0
    • Q q2sampath

      I wanted to reset the record number on beginning of odd page numbers (Not applying to the page number 1) to immediate previous even page beginning record number. Ex. if page 2(even page number) starts with record number 1, then I wanted to reset the record number to 1 in the next odd page number (i.e. 3). Similarly if page 4(next even page number) starts with record number 26, then I wanted to reset the record number to 26 in the next odd page number (i.e. 5). This should continue through out the report. Is it possible do this? :( Please comment on this. Or anybody have any idea to display lengthy records (Which has several columns) runs up to 2 A4 papers in continuous order. Ex. Assume it show 25 records in the first page and remaining columns same 25 records in the next page. Then it should show the records from record number 26 at the next page. This should continue through out the report. :( Thank you in advance. :-D Sam J

      S Offline
      S Offline
      Sk8tzz
      wrote on last edited by
      #2

      Hi.. Crystal does have global variables for pagenumber, or force reset of pagenumber, and you probaly have to to do this check and reset on the page header or footer group. .NET Rules

      Q 1 Reply Last reply
      0
      • S Sk8tzz

        Hi.. Crystal does have global variables for pagenumber, or force reset of pagenumber, and you probaly have to to do this check and reset on the page header or footer group. .NET Rules

        Q Offline
        Q Offline
        q2sampath
        wrote on last edited by
        #3

        I tried that. But the record number is a read only value. Isn't it? So how to set a value to it even though the check can be done at the page header? :sigh: Sam J

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups