Multiple labels in CrystalReport -> Visual Studio
Hi there!
I am a beginner in CrystalReports in Visual Studio and also in this forum, so please, have some patience with me.
So, here it is a problem. I have this application, with is printing a labels for products. So, my current print out sample is like 1 label left up of a page, second underneath that label, third underneath second etc.. But, the problem is, i have a blank paper on right of the labels(I have only 1 label in a row, but there is a place for multiple labels in the row).
So, how do I achieve this?
Hope I have been clear enough with this problem.
Greetings, Jure
2 Attachment(s)
Re: Multiple labels in CrystalReport -> Visual Studio
Here are the pictures for easier understanding of a problem.
Re: Multiple labels in CrystalReport -> Visual Studio
Re: Multiple labels in CrystalReport -> Visual Studio
Probably, you have a DataSet where your put your data into? Each record of this dataset is 1 line in the report. So if you want multiple labels (=records) on 1 line, you need to create a different dataset that contains both labels. Do not load your collection of labels automatticaly into the dataset, but do it your self. Iterate through your collection and make sure 2 labels are added into 1 row in the dataset.
I don't know if Crystal Reports has a solution for this and if this is a nice solution, but it is a solution that will work