A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Watermark



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2007, 07:12 PM posted to microsoft.public.access.reports
LindaC
external usenet poster
 
Posts: 69
Default Watermark

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark? Thanks
  #2  
Old April 30th, 2007, 08:54 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default Watermark

On Mon, 30 Apr 2007 11:12:01 -0700, LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark? Thanks


Diagonally?
Yes, but first you need to create an Image bitmap with the word
"Permanent" in large type, diagonal across the image. I created it
using Microsoft Digital Image Pro, which allows rotating text. You can
use any similar program (MSPaint does not allow text rotation).
Save the image as a .bmp image.

Then code the Report's open event:
If forms!YourFormName!CheckBoxName = True then
Me.Picture = "PathToPicture\PictureName.bmp"
Me.PictureSizeMode = 3 ' or 0 or 2 ... see the difference
End If

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old April 30th, 2007, 09:21 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Watermark

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?



Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.

--
Marsh
MVP [MS Access]
  #4  
Old May 1st, 2007, 02:36 PM posted to microsoft.public.access.reports
LindaC
external usenet poster
 
Posts: 69
Default Watermark

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?



Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.

--
Marsh
MVP [MS Access]

  #5  
Old May 1st, 2007, 05:12 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Watermark

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.
--
Marsh
MVP [MS Access]


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?



Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.


  #6  
Old May 1st, 2007, 05:51 PM posted to microsoft.public.access.reports
LindaC
external usenet poster
 
Posts: 69
Default Watermark

Hi Marshall:
Thanks for all your help. Still a little problem though, the control source
is working but it is coming out with a 0 or -1 value and not the word
Permanent. Any ideas?

"Marshall Barton" wrote:

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.
--
Marsh
MVP [MS Access]


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?


Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.



  #7  
Old May 1st, 2007, 08:22 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Watermark

What did you put in the text box's Format property?
--
Marsh
MVP [MS Access]


LindaC wrote:
Thanks for all your help. Still a little problem though, the control source
is working but it is coming out with a 0 or -1 value and not the word
Permanent. Any ideas?

"Marshall Barton" wrote:

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?


Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.

  #8  
Old May 3rd, 2007, 01:36 PM posted to microsoft.public.access.reports
LindaC
external usenet poster
 
Posts: 69
Default Watermark

Thank you, changed to Yes/No

"Marshall Barton" wrote:

What did you put in the text box's Format property?
--
Marsh
MVP [MS Access]


LindaC wrote:
Thanks for all your help. Still a little problem though, the control source
is working but it is coming out with a 0 or -1 value and not the word
Permanent. Any ideas?

"Marshall Barton" wrote:

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?


Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.


  #9  
Old May 3rd, 2007, 05:21 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Watermark

The predefined Yes/No format is:
"Yes";"Yes";"No";""
The first part is used for values that are 0, the second
part for values 0. the third part for zero values and the
fourth part for Null values. Since a YesNo type field in a
table can only have a value of -1 or 0, only the second and
third parts will be used.

All I was suggesting is that you use different text than the
Yes and No:

"";"Permanent";"";""
--
Marsh
MVP [MS Access]


LindaC wrote:

Thank you, changed to Yes/No

"Marshall Barton" wrote:

What did you put in the text box's Format property?


LindaC wrote:
Thanks for all your help. Still a little problem though, the control source
is working but it is coming out with a 0 or -1 value and not the word
Permanent. Any ideas?

"Marshall Barton" wrote:

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?


Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.



  #10  
Old May 7th, 2007, 04:36 PM posted to microsoft.public.access.reports
LindaC
external usenet poster
 
Posts: 69
Default Watermark

Thank you for staying with me, it is working perfectly.

"Marshall Barton" wrote:

The predefined Yes/No format is:
"Yes";"Yes";"No";""
The first part is used for values that are 0, the second
part for values 0. the third part for zero values and the
fourth part for Null values. Since a YesNo type field in a
table can only have a value of -1 or 0, only the second and
third parts will be used.

All I was suggesting is that you use different text than the
Yes and No:

"";"Permanent";"";""
--
Marsh
MVP [MS Access]


LindaC wrote:

Thank you, changed to Yes/No

"Marshall Barton" wrote:

What did you put in the text box's Format property?


LindaC wrote:
Thanks for all your help. Still a little problem though, the control source
is working but it is coming out with a 0 or -1 value and not the word
Permanent. Any ideas?

"Marshall Barton" wrote:

Select Textbox on the Toolbox toolbar, then on the report
section where you want the text box drag an outline of the
text box. Delete any attached label. Then double click the
new text box to display its property sheet and enter/select
the name of the YesNo field in the ControlSource property.


LindaC wrote:

Thanks. Not quite sure how to add a text bound box to the yes/no field? The
rest I can do. Please explain, thanks.

"Marshall Barton" wrote:

LindaC wrote:

I am creating a report (which is really a label for a box), and I have a
yes/no field called Permanent. If Permanent is checked yes is there a way to
put this in the report so that the word Permanent could be stretched
diagonally across the page as a watermark?


Add a text box bound to the yes/no field to the report. Set
its Height and Width to fill the detail section. Then set
its FontSize fairly large and Forecolor to light gray. Set
its Format property to
"";"Permanent";"";""
and then use the Format menu Send To Back to put it behind
all the other controls.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.