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  

Option Boxes



 
 
Thread Tools Display Modes
  #1  
Old July 21st, 2007, 09:56 PM posted to microsoft.public.access.reports
Pooklet
external usenet poster
 
Posts: 2
Default Option Boxes

Hi there,

I have to use quite a few Option Boxes on my Database. The problem I have
is that the selection made should print at a specific place in a report.

Basically what I have is about 30 government forms (I am automating the
filling in of these forms) - for a private company.

I want to use the functionality of a Option box (so that only one option can
be chosen) but I want to have an "X" printed on the form in the place where
the box is situated on my report. If a specific record is not selected then
the area must be blank (Only the selection must print the X)

Any help would be appreciated.
  #2  
Old July 22nd, 2007, 12:10 AM posted to microsoft.public.access.reports
Steve[_10_]
external usenet poster
 
Posts: 608
Default Option Boxes

Make the boxes on your report unbound. Name your boxes on your report Box1,
Box2, etc. On your form, create an option group named MyOptionBoxes using
checkboxes. Use the wizard and the wizard will keep adding options until you
get as many as you need and they will be assigned 1 to Total # of boxes.
Launch the report from this form. Put this code in the report's Open event:
Me("Box" & Forms!NameOfYourForm!MyOptionBoxes.Value) = True
This will check the box on your report that corresponds to the box on your
form you checked.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications




"Pooklet" wrote in message
...
Hi there,

I have to use quite a few Option Boxes on my Database. The problem I have
is that the selection made should print at a specific place in a report.

Basically what I have is about 30 government forms (I am automating the
filling in of these forms) - for a private company.

I want to use the functionality of a Option box (so that only one option
can
be chosen) but I want to have an "X" printed on the form in the place
where
the box is situated on my report. If a specific record is not selected
then
the area must be blank (Only the selection must print the X)

Any help would be appreciated.



  #3  
Old July 22nd, 2007, 06:42 AM posted to microsoft.public.access.reports
Pooklet
external usenet poster
 
Posts: 2
Default Option Boxes

Thanks Steve,
I will give it a go this morning.


"Steve" wrote:

Make the boxes on your report unbound. Name your boxes on your report Box1,
Box2, etc. On your form, create an option group named MyOptionBoxes using
checkboxes. Use the wizard and the wizard will keep adding options until you
get as many as you need and they will be assigned 1 to Total # of boxes.
Launch the report from this form. Put this code in the report's Open event:
Me("Box" & Forms!NameOfYourForm!MyOptionBoxes.Value) = True
This will check the box on your report that corresponds to the box on your
form you checked.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications




 




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 09:01 AM.


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