activereports - Programmatically repeat "Detail" section in Active Reports -


i need repeat "detail" section, repeating data found in xml, based on value of 1 of xml elements.

example:

i have shipped quantity on line item of 18. there 1 set of data in xml, not repeated 18 times. display data 18 times.

is there way programmatically repeat section? i'm total novice , figured once i'd ask here instead of going software vendor, in case learn nothing! tried pouring on 800+ page manual , couldn't find answer.

any solution i'm not repeating detail section of course welcome!

the report coded in vb.net, dataset xml.

thanks in advance!

shawn

i understand requirement , per understanding wish repeat data in detail section depending on value of 'shipped quanity'.

if value 18, details section should repeated 18 times , if ofr next record value if 5, entry record should dispalyed in report 5 times.

a cleaner implement without repeating details section of report make use of subreport.

the flow of implementation following :

  1. add subreport in detail section of report1 (main report)
  2. set it's datasource , add fields wish display
  3. you may remove reportheader/reportfooter of subreport , set height of pageheader/footer zero
  4. in format event of detail section fetch , save value of 'shipped quanity' in variable (say count).
  5. on basis of value, a. either repeat detail section (number of times=value of count) of subreport b. or render subreport multiple times (number equivalent value of count)

regards, mohita


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -