Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

In my application I use report viewer (not reporting services) to display invoices. Can anyone help with how i could print like 20 invoices at once? The user would give a command that would ask the software to print from invoice 100 to 120.

I am guessing that i should use the print document control but how do i pass the data from the report viewer to the print document?

 

Thanks

Posted

Are you using the crystal report viewer if so then you can set the report table at runtime with the following

 

YouReporttDocument.Database.Tables[0].SetDataSource(YourTable);

 

this way you can just get the invoices that you need to print

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...