CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2010
    Posts
    5

    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. #2
    Join Date
    Jun 2010
    Posts
    5

    Re: Multiple labels in CrystalReport -> Visual Studio

    Here are the pictures for easier understanding of a problem.
    Attached Images Attached Images   

  3. #3
    Join Date
    Jun 2010
    Posts
    5

    Re: Multiple labels in CrystalReport -> Visual Studio

    Nobody have a clue?

  4. #4
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured