Re: non-identical report copies
- From: "tina" <nospam@xxxxxxxxxxx>
- Date: Sun, 30 Jul 2006 19:26:59 GMT
you might try moving the label control, (and the page numbers control) to
the Page Footer section of the report, then run your code in the
PageFooterSection_Format event procedure.
hth
"atlantis43 via AccessMonster.com" <u24690@uwe> wrote in message
news:64057ff87388f@xxxxxx
Allen; thanks for response. I've noted similar 'solution' descriptionsfor
this problem in monster, but I'm not sure that they are not morecomplicated
than simple for my problem. Though I might try & see, I'm hesitantbecause:
1)my reports (invoices) are obligatorily in many different formats (foronly
medical insurance billing), and the recordsources are variable-order
subqueries constructed on the fly. Adding another level of decision
construction seem like it might further complicate the logic.
2)While some forms REQUIRE several non-identical copies (2 or 3), others
need them in certain circumstances, further confusing the programmer.each
">If you initialize the variable in Report_Open, it will increment with
eachtime you go through the report. So if you open it in preview, and then
print, it will have the wrong value."
Is there any way to compensate for this in code, so that I don't have to
change the logical construction of what worked so well in Ac2?
Thanks, richard
Allen Browne wrote:
If you initialize the variable in Report_Open, it will increment with
originaltime you go through the report. So if you open it in preview, and then
print, it will have the wrong value.
Here's a solution that requires no code, and can't go wrong.
A simple workaround it to create a table containing the names you want on
your report. A table with just 2 fields:
PrintTextID Number
PrintText Text
Enter 2 records:
1 Original
2 Copy
Create a query for the report, and add this table as well as your
view.table. (If you already have a query, just add the new one to it.) It is
important that there is no line joining the 2 tables in query design
nowSave the query.
Now open the report in design view.
Make sure its RecordSource is the query you just saved.
In the Sorting'n'Grouping box (View menu), insert a row at the top
Put the PrintTextID field in that row of the dialog.
In the lower pane, choose Yes beside Group Header.
In the new group header, add a text box for PrintText.
The query now feeds 2 copies of the record to the report, and the header
Ac2prints Original or Copy on the 2 copies.
If you do want to print just the original or just the copies, you can add
criteria to the query, or use the WhereCondition of OpenReport.
Hi; Wondering if anyone can solve this problem, which worked fine in
and[quoted text clipped - 39 lines]
Any suggestions for correction are needed.
Richard
--
Message posted via http://www.accessmonster.com
.
- Follow-Ups:
- Re: non-identical report copies
- From: atlantis43 via AccessMonster.com
- Re: non-identical report copies
- References:
- non-identical report copies
- From: atlantis43
- Re: non-identical report copies
- From: Allen Browne
- Re: non-identical report copies
- From: atlantis43 via AccessMonster.com
- non-identical report copies
- Prev by Date: Re: Access report where detail is different on odd and even pages
- Next by Date: Re: Change Control Source
- Previous by thread: Re: non-identical report copies
- Next by thread: Re: non-identical report copies
- Index(es):
Relevant Pages
|
|