Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to indicator, Report print to printer or not... 1

Status
Not open for further replies.

sppa

Programmer
Oct 2, 2002
5
0
0
ID
Hi guys..

I have a field on the database, "Print_Status". If user print my crystal report to printer, "Print_Status" = 1, if just only preview, "Print_Status" = 0.

How to code crystal report on my application, I use Crystal Report Control to display report.

CrystalReport1.action = 1

If CrystalReport1.??? (to printer) then
"UPDATE MyTable SET Print_Status = 1"
Endif

Please help me Guys, how...
 
You could use the printButton_Click event and update the database when the print button is pressed.

HTH

Gary Parker
Systems Support Analyst
Manchester, England
 
Dear Gary Parker,

Thank's very much, God bless you..


Kurniadi
Indonesia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top