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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Address changes report

Status
Not open for further replies.

atadbitslow

Programmer
Feb 26, 2001
301
US
I have a form that displays address information based on fields from one table. Periodically, a user will update an address in this form. My goal is to be able to print a report that shows all the addresses that were changed and have the "changed" data be in bold so the user knows which fields were changed.

What's the best way to accomplish this?? Thanks!
 
You'll need to capture the print event for each record somehow. One way would be to create a table for logging this print activity. This table could have a field for the form's name, the primary key of the record being printed, the date the print activity occured, etc. Then using this table you could compare what is being printed this time to any records printed before and format those records accordingly. It of course would also require that you add new records to your log table so that the process continously updates itself. You could use the OnFormat property to test for those records that need to be made bold and the OnClose event to append the log records. You may wish to include some type of error trapping to insure the report printed correctly before appending any records.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top