RE: Add ONE variable word to report header
- From: "Ann Scharpf via AccessMonster.com" <u16643@uwe>
- Date: Fri, 10 Mar 2006 14:30:34 GMT
Now is around the time when I start to fear I'm trying my advisor's patience.
I tried to do what you said and the report still won't open, except in design
mode. This is what I now have in my Open Event:
Private Sub Report_Open(Cancel As Integer)
If MgbBox("Is This A Revision", vbQuestion + vbYesNo) = vbYes Then
Me.Label4.Caption = Me.Label4.Caption & " Revision"
End If
End Sub
Klatuu wrote:
A couple of things. First, you Report Title should be a Lable control. In my
haste, I named it as if it were a text box, sorry. Anyway, I just did a
quick test and it does work. What you need to do is use the name of your
label control in the code instead of mine. It was only an example.
So change txtReportTitle to whatever the name of your control is. I think
that should work, let me know.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200603/1
.
- Follow-Ups:
- Re: Add ONE variable word to report header
- From: Marshall Barton
- Re: Add ONE variable word to report header
- References:
- Add ONE variable word to report header
- From: Ann Scharpf via AccessMonster.com
- RE: Add ONE variable word to report header
- From: Ann Scharpf via AccessMonster.com
- Add ONE variable word to report header
- Prev by Date: Access keeps printing "Letter" instead of A4
- Next by Date: Re: Separate a huge report with color paper?
- Previous by thread: RE: Add ONE variable word to report header
- Next by thread: RE: Add ONE variable word to report header
- Index(es):
Relevant Pages
|
Loading