Enabling/disabling Fields With Check Boxes

May 16, 2005

Hi,

Is it possible to enable and disable fields on a form with another field that is a check box?

i.e. a text box is greyed out until a check box is ticked.

Any help is appreciated,

Cheers,

Phil

View Replies


ADVERTISEMENT

Enabling And Disabling Fields...

Nov 28, 2005

hi, there is this form i want to create which uses a drop down list.... i want to be able to auto enable and disable selective fields upon selecting one of the choices.

e.g. in a drop down list containing: choice 1, choice 2 and choice 3

and there are the fields field no. 1, field no. 2 and field no.3


If i select Choice 1 --> field no. 1 get enabled and the other 2 gets disable... so on and so forth....


How do i go about doing this?

View 1 Replies View Related

Enabling/Disabling Fields In Single Records

Jun 27, 2005

Hello,

I've recently been told how to enable/disable fields in a form by ticking/unticking a box. Is there a way that, on a tabulated form, i can only disable/enable the field for the same record as the one the check box is in rather than for every record?

Any help will be greatly appreciated.

Thanks,

Phil

View 2 Replies View Related

Queries :: Enabling / Disabling Fields According To Previous Data Entry

Aug 6, 2013

I need to create a form to enter data from a survey, and ideally some sections of the form would only be completed when the answer to a first question is "yes". How to do this enabling/disabling of fields for data entry?

View 3 Replies View Related

Disabling/enabling Help!

Mar 10, 2005

Working in the theatreworld, I'm trying to create something which will usefully combine my contacts and also a database of which shows we have done (dates, actors involved etc, etc) and what shows we have bought in.

So far, I have created my form which has the usual fields (name, address and so on) and also a field which asks users to describe what type of contact they are ie. are they an actor, or a director, or a theatre company.
There are also two command buttons, which will either open up another form which lists all the productions they have been in with us over the years (In-house productions), or one that opens up another form which lists what shows each theatre company has brought to us.

I would like to be able to select 'actor' in the category field which will then enable the command button for me to see what productions that person has been in. Or if I selected the 'theatre company' category then the other button becomes enabled.

Can anybody advise me on this please? Alternatively, if this all sounds far too convoluted, then I am open to suggestions!

Many thanks in advance,
Popps

View 1 Replies View Related

Disabling And Enabling A Button. PLEASE HELP, VERY IMPORTANT

Mar 14, 2007

Hi, I have a form called Product Details Display Form, which is for Product Details Display table. This form contains a button "Done" which saves everything into the table, or in other words, bounds the unbounded textboxes to the table. Basically, I want this button to be disabled at the begining, when the form loads, and when the user enters ALL the fields, it becomes enabled. Here is the code I have at the moment:
Private Sub Form_DataChange(ByVal Reason As Long)
If Me.Product_Brand = Null Or Me.Product_Code = Null Or Me.Product_Name = Null Or Me.List34 = Null Or Me.Price = Null Or Me.Details = Null Or Me.Discount = Null Or Me.Combo0 = Null Or Me.Combo2 = Null Then
Me.Command36.Enabled = False
Else
Me.Command36.Enabled = True
End If
End Sub

I also have Me.Command36.Enabled = False in the Form-Load. I dont really know if it has to be in Private Sub Form_DataChange or not.

Please help me ASAP

Thanx in Advance

View 4 Replies View Related

Modules & VBA :: Enabling And Disabling One Control On Continuous Form

Mar 4, 2014

Basically I have a continuous form with each record having a textbox and a checkbox. There can only be one checkbox ticked per record but what I want to do is to stop the other checkboxes from being ticked if one is already ticked.

View 2 Replies View Related

Complete Newbie.please Help With Enabling/disabling Field Based On Combobox Selection

Oct 24, 2006

Hi everyone,


Firstly apologies for posting what is likely to a really simple problem and probably has been explored before. I have been looking through other treads but nothing that I could identify really fits the bill.

Essentially based on choices made against a combo-box, I wish to lock or hide combinations of fields/combo box within the form. Realistically I want to lock rather than hide.

All the fields/combo boxes in the form I want to effect are bound.

I can effectively do this as long as the fields/combo-boxes are unbound, but it seem to fail when they are bound.

Any assistance would be really helpful so thanks in advance.

View 3 Replies View Related

Not Using Yes / No Fields And Still Creating A Table For Check Boxes

May 8, 2012

Allen Browne has an page explaining how to set up a database relationship of many to many using a connection table at the following link

[URL] .....

I can set up what he has done easily, but I want to be able to show the information much like the matrix he shows at the top of the page and also include in the query or form "sports" that no one has checked.

View 6 Replies View Related

General :: Missing Check Boxes In Multivalued Fields

Sep 3, 2012

I have created a multivalue field which allows me to select many names which form s a circulation list for a report. The multivalue drop down works ox in table view, however when I am in form view the dro down is missing the check boxes....

View 3 Replies View Related

Disabling Combo Boxes

May 24, 2006

Hi people i once again need your help!

What I would like is for a combo box to disable if a certain vaule is entered into another combo box.

I have a combo box [FrontDoorType] and when the vaule is N/A or blank then the [FrontDoorColour] combo box is disabled.

Have tried using the conditional formatting tool but keep getting lost.

Is there a way to do this?

Thanks for all your help!

View 3 Replies View Related

Disabling Combo Boxes

May 24, 2006

Hi people i once again need your help!

What I would like is for a combo box to disable if a certain vaule is entered into another combo box.

I have a combo box [FrontDoorType] and when the vaule is N/A or blank then the [FrontDoorColour] combo box is disabled.

Have tried using the conditional formatting tool but keep getting lost.

Is there a way to do this?

Thanks for all your help!

View 3 Replies View Related

Enabling Fields In Forms

Nov 8, 2005

I want a form to default open in read only mode to avoid users deleting info. I want them to be able to edit the form by pressing a button. Does anyone know the VB code to run from a command button to do this.

Regards :confused:

View 6 Replies View Related

Queries :: Query By Form With Check Boxes / Combo Boxes Not Working

Mar 25, 2013

Attached I have a database that I've been working on which has a form called "frmCriteriaSearch". It is based off of the qryCriteriaListBoxUpdate query. I am trying to get the listbox in the second tab of the results section to work. It queries fine for the checkboxes, but I cannot get the comboboxes to affect the query (unless a checkbox has already been selected)

View 6 Replies View Related

Forms :: Search Form Using Both Combo Boxes And Check Boxes

Jun 5, 2014

I am trying to make a search option in my form header. Right now I have two unbound combo boxes (CboAccountsfilter and cboCourseName) that I can use to filter my records. Currently, I can use the drop down for CboAccountsfilter and a list of accounts will appear. When I select one, the corresponding Course Names will appear in cboCourseName. This works fine...Code below. I would like to take the filtering a step farther and add checkboxes to filter the data. I my form, there currently exist several check boxes (yes/no)...(Priority, Rep Top Target, Manager Top Target, ect). I would like to have the option to use a check box to filter. I.E if I had a checkbox in my header called PriorityFilter, if checked it would only bring up those records that met the two combo boxes criteria and was a priority.

Below is the code I have so far...it doesnt have anything for the checkbox because I am at a lost of how to get started.

Private Sub CboAccountsfilter_Change()
Me.Requery
Me.cboCourseName.Requery
Me.Check178.Requery
End Sub

[code]...

View 1 Replies View Related

New Text Boxes And Check Boxes Don't Work

Apr 24, 2008

Hi,
I added some new controls into existing form. I made sure I added those new control names to Table source as well. For some reason, I dont get the values either in the form or in table. Please help. Thanks.
By the way, how can I attach an attachment in this forum. This if first time for me in this forum.

View 4 Replies View Related

Disabling A 2 Fields On A Form

Jul 26, 2005

I would like to be able to disable 2 other fields on a form if a user selects a certain item from a drop down list on that same form....????

ANY HELP

View 3 Replies View Related

Disabling Fields Depending On Selections

Jun 5, 2012

I have a form with fields that gray out or disable depending on selections. If you make selections that result in disabled fields and then save/close it, how do you ensure the fields remain grayed out/disabled when you reopen it?

View 4 Replies View Related

Forms :: Disabling Fields From A Different Form / Table

Feb 14, 2014

I am trying to disable a field in a form based on a value in a field on a different table/form. I have been able, through simple VBA code, to disable fields based on a value in the same form. Are queries/sub forms the only way to go?

View 7 Replies View Related

Check Boxes And Text Boxes

Jun 9, 2005

I have a form with a check box among other itmes. What I want to happen is, when the user checks the check box, I want the text box to the right of it to be made visible and to let the user write text. But I only want this text box to be visible when the check box is checked. The check box is if the user wish to put a comment in the form, he will click the check box and then I want my text box to appear so that he may write the comment in the text box. Please help with this. Thanks

View 3 Replies View Related

Forms :: Graying Out / Disabling Field Based On Other Fields On Form / Subform

Jun 27, 2013

I am wanting to grey out/disable a field on a form based on entries in two other fields being the same. One of these fields that contains the data to be referenced in on a sub-form.The form is called 'Payment_Information-Form', the field to be greyed out/disabled is called 'SUF A Paid?'

The fields that are being referenced are: 'Set up fee in s (SUF) Recrt Restriction A <=' which is on the main form, and 'SUF_Letter' which is on a sub-form (within the main form). The sub-form is called 'Costings_11_Previously_Paid_SUF subform'.If 'Set up fee in s (SUF) Recrt Restriction A <=' equals 'SUF_Letter' then grey out.I tried the following formula in both the On Current and After Update sections but it hasn't work.

=IIf([Forms]![Payment_Information-Form]![Costings_11_Previously_Paid_SUF subform].[Form]![SUF_Letter]=[Set up fee in s (SUF) Recrt Restriction A <=],[SUF A Paid?].[Visible]=True,[SUF A Paid?].[Visible]=False)

View 4 Replies View Related

Forms :: Disabling Fields In Access Based On Data Entered In A Previous Field

Sep 9, 2013

How to disable fields in Access based on data entered in a previous field? For example if "yes" is chosen from a drop down show "Date field" if "no" is chose hide "Date Field".

View 2 Replies View Related

Check Boxes

Jan 2, 2006

Hi
In my tables I have set a field to Yes/No and the format to be True/False.
When I activate the table it shows the field as a checkbox, however when I create a List Box on a form to that table it displays the fields as True/False, how can I get the list box to also display the field as a checkbox.


dave

View 2 Replies View Related

Sum Of Check Boxes

Jun 9, 2005

I want to sum together the number of check boxes checked. The problem is that Sum gives a negative number. What shuold I do?

View 2 Replies View Related

Check Boxes

Sep 27, 2005

This seems like an easy question.

I created a check box on a form. The problem is once the box is checked, it cannot be unchecked. Seems like there should be some validation running in the background that checks the state of the check box.

I have the value of the check box to equal 1.

If the field is null, then clicking on the check box assigns the value and turns on the check mark.

If the field is already 1, then clicking on the check box deletes the value and unchecks the box.

Can someone provide me with the vba code that makes the check box operate correctly? I appreciate your help.

Thanks,

Jeff

View 1 Replies View Related

Check Boxes

Sep 28, 2004

Is there a way to make sure that one of two box is checked. And if one is checked the other could not be. For example. If I have a check box called Father and one called mother. If father was checked Mother could not be checked, and visversa.

Thank You

J

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved