Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Repeat records depends of value Post Reply Post New Topic
Author Message
makis_best
Newbie
Newbie
Avatar

Joined: 01 Jun 2017
Location: Greece
Online Status: Offline
Posts: 4
Quote makis_best Replybullet Topic: Repeat records depends of value
    Posted: 05 Jun 2017 at 10:10pm
Hi

I use crystal reports XI

I try with no success to repeat the detail section as many times as a value of a field.
My dataset gives me a field with a number.... let say the number 4

I want the detail section repeat him self 4 times with all the info i have in detail section.
For example.
If the detail section have had to print the info "11002 - My offer for it is"
then I want to return 4 times the same detail with the number like
11002 - My offer for it is 1
11002 - My offer for it is 2
11002 - My offer for it is 3
11002 - My offer for it is 4

How I can do it.

Thank you for your help.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 23 Jun 2017 at 8:26am
us a number table to join to your query. Join on all values <= to field that you need.

a number table is table that looks like:
1
2
3
.
.
.
n
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.