PC Review


Reply
Thread Tools Rate Thread

CHECK BOXES ON FORM

 
 
=?Utf-8?B?Rmx1ZmZ5?=
Guest
Posts: n/a
 
      19th Jul 2007
I'm having a terrible time trying to insert 12 check boxes on a form. I'm
setting up a rather small database to capture event info (name, date,
location, type, etc). Since I plan to enter the info on the form, I'd like
to be able to check as many boxes as applicable to the type of event & then
have these items automatically carried over to the table. I haven't even
started creating any reports yet; although one of the reports I will want
will be broken by type of event. Can anyone offer me some simple solutions
to adding some check boxes to my form?
 
Reply With Quote
 
 
 
 
UpRider
Guest
Posts: n/a
 
      20th Jul 2007
Fluffy, your request is unclear. Are you actually having trouble placing 12
checkboxes on the form, or are you having trouble getting the 12 checkboxes
to do what you want them to do?
If you store the value of the checkboxes in your table, the value will be
simply TRUE or FALSE. If you want to automatically populate some fields
with fixed values when a particular checkbbox is checked, that's another
matter, but not so difficult.
An event procedure for a checkbox could be so:
Private Sub chkInclude1_AfterUpdate()
Select Case chkInclude1
Case True
Call fcnShowSQL("SQL14a") ' or whatever
Call fcnFromYrReq ' or whatever
Call subCurrMOYR(0) ' etc
Case False
Call fcnShowSQL("SQL14") ' or whatever
Call fcnNoDatesReq ' etc
End Select

As you can see, a multitude of actions can be taken for either true or
false. In your case true, you could move literals into textboxes bound to
your table, case false, equate those textboxes to NULL.

UpRider

"Fluffy" <(E-Mail Removed)> wrote in message
news:18D3A8EA-A06D-4C4E-865D-(E-Mail Removed)...
> I'm having a terrible time trying to insert 12 check boxes on a form. I'm
> setting up a rather small database to capture event info (name, date,
> location, type, etc). Since I plan to enter the info on the form, I'd
> like
> to be able to check as many boxes as applicable to the type of event &
> then
> have these items automatically carried over to the table. I haven't even
> started creating any reports yet; although one of the reports I will want
> will be broken by type of event. Can anyone offer me some simple
> solutions
> to adding some check boxes to my form?



 
Reply With Quote
 
=?Utf-8?B?Rmx1ZmZ5?=
Guest
Posts: n/a
 
      20th Jul 2007
"If you want to automatically populate some fields with fixed values when a
particular checkbbox is checked, that's another matter, but not so
difficult." That's exactly what I want to do. I think I may have done after
I posted this afternoon. I ended up creating an option group w/11 check
boxes. Values were assigned (by default, I think) & show up in the table.

However, this option group allows me to only check 1 box. There are times
when I need to check more than 1 box. What to do then?

Sorry for the confusion -- I'm practically a newbie w/Access, but I enjoy
learning.
"UpRider" wrote:

> Fluffy, your request is unclear. Are you actually having trouble placing 12
> checkboxes on the form, or are you having trouble getting the 12 checkboxes
> to do what you want them to do?
> If you store the value of the checkboxes in your table, the value will be
> simply TRUE or FALSE. If you want to automatically populate some fields
> with fixed values when a particular checkbbox is checked, that's another
> matter, but not so difficult.
> An event procedure for a checkbox could be so:
> Private Sub chkInclude1_AfterUpdate()
> Select Case chkInclude1
> Case True
> Call fcnShowSQL("SQL14a") ' or whatever
> Call fcnFromYrReq ' or whatever
> Call subCurrMOYR(0) ' etc
> Case False
> Call fcnShowSQL("SQL14") ' or whatever
> Call fcnNoDatesReq ' etc
> End Select
>
> As you can see, a multitude of actions can be taken for either true or
> false. In your case true, you could move literals into textboxes bound to
> your table, case false, equate those textboxes to NULL.
>
> UpRider
>
> "Fluffy" <(E-Mail Removed)> wrote in message
> news:18D3A8EA-A06D-4C4E-865D-(E-Mail Removed)...
> > I'm having a terrible time trying to insert 12 check boxes on a form. I'm
> > setting up a rather small database to capture event info (name, date,
> > location, type, etc). Since I plan to enter the info on the form, I'd
> > like
> > to be able to check as many boxes as applicable to the type of event &
> > then
> > have these items automatically carried over to the table. I haven't even
> > started creating any reports yet; although one of the reports I will want
> > will be broken by type of event. Can anyone offer me some simple
> > solutions
> > to adding some check boxes to my form?

>
>
>

 
Reply With Quote
 
UpRider
Guest
Posts: n/a
 
      20th Jul 2007
Fluffy, there are checkboxes and option buttons. These are sometimes placed
in a box called an option group. Only one option can be selected - when you
click on one, it turns off any other that happens to be on. Option buttons
have a dot that clicks on or off, while check boxes have a check that show
up when you click them.
In any case, if the buttons are placed in an option group, only ONE button
is allowed to be selected at a time.
Buttons NOT in an option group have no effect on each other. You can select
as many as you wish.
The general convention is to put option buttons in an option group. If you
need independent multiple selections, use check boxes, with no option group.
If you want the check boxes in a box for aesthetic reasons, use a rectangle
control.

HTH, UpRider

"Fluffy" <(E-Mail Removed)> wrote in message
news:FE459A69-664D-4825-9807-(E-Mail Removed)...
> "If you want to automatically populate some fields with fixed values when
> a
> particular checkbbox is checked, that's another matter, but not so
> difficult." That's exactly what I want to do. I think I may have done
> after
> I posted this afternoon. I ended up creating an option group w/11 check
> boxes. Values were assigned (by default, I think) & show up in the table.
>
> However, this option group allows me to only check 1 box. There are times
> when I need to check more than 1 box. What to do then?
>
> Sorry for the confusion -- I'm practically a newbie w/Access, but I enjoy
> learning.
> "UpRider" wrote:
>
>> Fluffy, your request is unclear. Are you actually having trouble placing
>> 12
>> checkboxes on the form, or are you having trouble getting the 12
>> checkboxes
>> to do what you want them to do?
>> If you store the value of the checkboxes in your table, the value will be
>> simply TRUE or FALSE. If you want to automatically populate some fields
>> with fixed values when a particular checkbbox is checked, that's another
>> matter, but not so difficult.
>> An event procedure for a checkbox could be so:
>> Private Sub chkInclude1_AfterUpdate()
>> Select Case chkInclude1
>> Case True
>> Call fcnShowSQL("SQL14a") ' or whatever
>> Call fcnFromYrReq ' or whatever
>> Call subCurrMOYR(0) ' etc
>> Case False
>> Call fcnShowSQL("SQL14") ' or whatever
>> Call fcnNoDatesReq ' etc
>> End Select
>>
>> As you can see, a multitude of actions can be taken for either true or
>> false. In your case true, you could move literals into textboxes bound to
>> your table, case false, equate those textboxes to NULL.
>>
>> UpRider
>>
>> "Fluffy" <(E-Mail Removed)> wrote in message
>> news:18D3A8EA-A06D-4C4E-865D-(E-Mail Removed)...
>> > I'm having a terrible time trying to insert 12 check boxes on a form.
>> > I'm
>> > setting up a rather small database to capture event info (name, date,
>> > location, type, etc). Since I plan to enter the info on the form, I'd
>> > like
>> > to be able to check as many boxes as applicable to the type of event &
>> > then
>> > have these items automatically carried over to the table. I haven't
>> > even
>> > started creating any reports yet; although one of the reports I will
>> > want
>> > will be broken by type of event. Can anyone offer me some simple
>> > solutions
>> > to adding some check boxes to my form?

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check all check boxes in a continuous form Danny Morales Microsoft Access 2 25th Jul 2007 01:44 AM
Check all check boxes in a multiple form Danny Morales Microsoft Access 1 24th Jul 2007 11:03 PM
Re: Form Check Boxes Chad DeMeyer Microsoft Word Document Management 0 1st Jul 2004 04:48 PM
Value of check boxes in word form are lost when emailing the form. =?Utf-8?B?RGF2ZSBKdW5n?= Microsoft Word Document Management 1 24th Jun 2004 07:12 PM
Having Check boxes on one form Generate sub-forms on another form Chantal Microsoft Access Form Coding 1 1st Oct 2003 09:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 PM.