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

How to get items from a form into a report and retain code

Status
Not open for further replies.

CDerosier

Programmer
Jan 5, 2003
10
0
0
US
I need to create a report based on a form. what I need to do is copy labels and lines and rectangles from the form to the report. There is coding behind the next record button that needs to follow the labels and lines. How can I do this?

Cindy
 
Unless your form is very simple, you are looking at quite a lot of programming work to translate the graphic objects from the form to a report. I'd suggest that you use a temporary table to help with the process. For example, your temporary table would store the values for:

1) Type of object: Label, Line, Rectangle, etc.
2) Coordinates of the object
3) Color of the object
4) Width of the line objects or font size of text objects
5) Text of the label
etc.

Your form would store the proper values in the temporary table. Then, your report would retrieve those values and use them to actually draw the graphics and labels on the report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top