A kind of watermark

R

Ron

I am using Access 97.

I am tring to print some text on a Report and am able to do it with the
following code. I need to figure out how to set the text I am printing
to be transparent so it is like a watermark with the other text on the
report printed over the top so it is readable.

Thanks in advance for your help
Ron


Dim rpt As Report
Dim strMessage As String

Private Sub Report_Page()

Dim rpt As Report
Dim strMessage As String

Set rpt = Me
strMessage = "Not For" & vbCr & "Release"
With Me
'Set scale to inches, and set properties.
.ScaleMode = 5
.FontName = "Arial Black"
.FontSize = 100
.ForeColor = 16776960 'vbCyan

End With
Me.CurrentX = 0.75
Me.CurrentY = 2.5 '4.25

rpt.Print strMessage

End Sub
--
 
D

Duane Hookom

I'm not sure you will have much luck with this method. Have you considered
creating an image file and then setting the report's picture property at
run-time?
 
B

Boyd Trimmell aka HiTechCoach

Have you tried using a label or text box control. Set the back style to
transparent. Select the control then on the menu Format > send to back.

This has works in my databases.

Hope this helps ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top