Page 1 of 1

Create multiple records based off value in database.

Posted: Wed Nov 18, 2009 1:57 pm
by dpeel2757
I was wondering if someone could help point me in the right direction. I am trying to create a product label report. Currently in my datasource I have one product record that has a quantity of 2. The quantity is a datacolumn. I would like to create two duplicate labels for this product. Every product record in the datasource could have different quantites so i would like to create as many labels as the quantity coulmn has for each product record. Any suggestions? Thanks in advance.

Create multiple records based off value in database.

Posted: Thu Nov 19, 2009 2:26 am
by Edward
Hi

Please open attached report in the Demo.exe sample application.

In the DataCategory DataBand please see BeforePrint event. And DataBand1.MasterComponent = DataCatergory.

In this report DataBand1.CountData = 1 initially and then is set according to Categories.CategoryID value.

Thank you.

Create multiple records based off value in database.

Posted: Fri Nov 20, 2009 12:09 pm
by dpeel2757
Thanks works perfectly!!!

Create multiple records based off value in database.

Posted: Sun Nov 22, 2009 5:01 pm
by Edward
Hi,

Your are welcome :)

Please let us know if any help is required.

Thank you.