how to use crystal report just for printing.
i have 1 project which i enter value to some text box and
values to print in a 8 inch height and 10 inch width paper.
i have tried using datareport and its not allowing to print upto 10 inch width
Printable View
how to use crystal report just for printing.
i have 1 project which i enter value to some text box and
values to print in a 8 inch height and 10 inch width paper.
i have tried using datareport and its not allowing to print upto 10 inch width
any help pls. i dont want to use database. only need to print directly when click on print button
Check out my second section of code in my VB6/CR Print Setup Dialog code example in my signature.
Moved
how to assign a value from textbox to crystal report
Are you using a database to store or retrieve the data?
no im not using any database. just something in textbox and when clicking on the print button should print the values
Design your report in CR so your cr textboxes will be bound to parameter fields that you will have to create in the Insert Object dialog window. Then when ready to print you will have to pass the parament values to the report.
but when i open the crystal report it is asking for database connection
I dont have CR on this system but I believe there may be a property to designate a disconnected DataSource or such that you wont have to connect it to one. Sorry, been a while and I cant remember. What version of CR?
its a old version. i dont remember it actually. think version is 7. any way thanks for your help
Rob, I think you may be thinking of setting CR to use an ADO connection, which will accept a disconnected dataset. But if you streetch the Datareport out as far as it will go, you can get it to approximately 13" X 10" (.Width = 19200, .Height = 15360)
Yes, thats probably it as I always use ADO connections. He can just set the page setup as landscape and that should cover the dimensions he needs.