Check Box Control In Forms

Apr 20, 2006

please see attachment.
I created a small database to help explain my issue.

When I click on the check box in box 1(train), the text box turns blue...great...and even better the other records stay clear when I scroll down, which is what I want to happen.
But when I scroll back up, from dog to train, the blue in the train box has gone- not what I want!
I would like the blue to stay in every box that I click on. Any ideas?

Thanks,

J

View Replies


ADVERTISEMENT

Forms :: Check Box To Lock Control

Jan 12, 2015

I have a check box on a form,that when ticked ,Iwant it to lock that check box (basically i dont want that info altered after this time) I know its something to do with the property but cant get it to lock the check box).

View 3 Replies View Related

Forms :: Check Box Control - Unable To Uncheck When Clicked

May 30, 2013

In a current form I want to display a checkbox that can be checked or unchecked. Based on if the box is checked or not, a value will be placed in a field when the record gets updated or created...

I have created a check box but when I click it, I am unable to uncheck it, Im pretty confident I can do the later part in coding it into the database... its just having the free ability to check it or not!

View 8 Replies View Related

Check Existence Of A Control??

Aug 1, 2005

hi,

I have an ActiveX control which needs to be registered the first time a user opens the database on a machine.

Is it possible to run a query/autoexec or similar on startup which informs the user if this particular ActiveX control isnt registered?

Our company is undergoing an OS upgrade and it would be useful to inform the user to register the control if not done..

Thanks in Advance

View 2 Replies View Related

Forms :: Make Image Appear In Form When There Is Check In Check Box From Table?

Jun 26, 2014

how can i make a image appear in my form when there is a check in the check box from the table?

View 14 Replies View Related

Bug: Treeview Loses Check Marks On A Tab Control

Jul 18, 2006

If anyone wants to test this out to verify its a true bug it would be helpful:

Create a tab control.
Place a treeview control (with checkboxes = Yes) on one of the pages.
Populate the treeview.
Check some boxes.
Move to the next page of the tab control.
Return to the page with the treeview.
Viola! The checkboxes you checked previously are all unchecked.
(Not just visually, but property-wise as well).

One step forward, two steps back.

Actually, the work around is to remove the treeview from the tab control and then change the Visible property of the treeview to False if on a different tab page, and True if on the page you want it to display on. But c'mon why can't it work the way you'd expect it to work!

Jeff

View 1 Replies View Related

Tables :: Setting Display Control To Check Box

May 17, 2014

I agree completely with everyone when it comes to not using lookup fields in tables.But does that extend to Display Control of yes/no tables? What are the problems with setting the Display Control to "Check Box"?

View 4 Replies View Related

Forms :: Invalid Control Property - Control Source

Sep 24, 2013

I added a new field to one of my tables and query, but when I try to add a control for that field into my form it is not recognising it and the field isn't appearing in the sources for the form, even though the table is sourced to the form? Or am I going to have to do the usual and redo the entire form because I made a minor adjustment?

View 1 Replies View Related

Forms :: Web Browser Control Inside A Tab Control Display

Jun 18, 2014

I have a form with a tab control, inside the tab control I placed an ActiveX control (Microsoft Web Browser). These are at the bottom of the form.

Everything displays fine if the entire form fit on the screen but if the form is too long and I scroll down the browser control is getting obscured by the tab control and getting chopped off (the contents are covered). It is as if the browser control is staying in space where it was and moving behind the tab control as I scroll.

This problem does not occur if I place the browser control directly on the form. Also I note that the browser control is sitting correctly within the tab control.

I have been through all the settings and properties of both controls and haven't been able to fix it. I searched all over the web but no one has previously stumbled across this one by the look of it.

See the attached image ...

View 3 Replies View Related

Forms :: Editing A Forms Control Source To Update A Field In A Table

May 28, 2013

I have created a table for installer invoicing, and have a field for invoice amount. I have created a user input form that allows a user to fill in certain pay rates for different aspects of installation, and would like to know how to make the invoice amount a calculated control that will auto update the field InvoiceAmt in my table. I can't figure out how to do this in the property sheet.

View 3 Replies View Related

Forms :: Default Property / Using A Control Of Main Form Without Using Names Of Forms?

Nov 8, 2013

In the default property of a subform control I want to use a control of the main form without using names of forms, but using me and parent.

I used in default property of cboVATDetail: =Me.Parent!cboVAT, but it is not accepted. My aim is to use cboVAT of parent as default in cboVATDetail of child.

View 3 Replies View Related

Forms :: Subform Control Event - Identify Parent And Child Forms

Jun 20, 2013

I have a listbox on a subform (or a subform within a subform).

When it is clicked I want all other listboxes to unselect.

There may be listboxes on the mainform, on other subforms, on other subforms of subforms.

I imagine I'm looking at a recursive function of some sort, but I'm not entirely sure of syntax to identify parent and children forms...

pseudocode so far:
loop all controls
if control = listbox, unselect all
if control = subform - recurse: loop all subform controls
if control = parent... err... Fail.

View 3 Replies View Related

Forms :: Access Form With Tab Control Pages Each With Embedded Forms

Apr 13, 2013

I have an access form with tab control pages each with embedded forms.In one page I have a list of records as a datasheet form with the record identifier field configured as a hyperlink. When I click on this it passes its value to a form field in the form in the following tab page (works without the hyperlink but its a useful way of highlighting which field to click) which is a display/edit form of the details of the individual record. The Subroutine which does this sets the focus on this field it is passing the value to on the other form and the 'On Got Focus' event in that triggers the query that fills the editor form.

When I click back on the following tab to select another record to view/edit, the identifier value of the other record is passed to the other form but the data displayed in the rest form doesn't change. I understand this is because the field with the 'On Got Focus' never lost focus and so the query function was not called. To correct this I tried adding the same function call to the 'On Change' event however this does not work (the field is a text box set to 'locked' if that is relevant).I can get the form to do a new query properly if I click on a different field in the form before going back to the list tab or (as this is removing the focus allowing the On Got Focus to work again) if I click on a button to select a different record (which just takes me back to the list form).

Is there any way I can get this to work without having to manually remove the focus from the problem field? I have tried setting its On Got Focus event to move the focus to another field after the query function call however this prevents the Setfocus line in the code in the previous form from working. Here is a snippet of my code below.This code is for the list form and passes a value to the editing form:

Private Sub SalesID_Click()
Forms!Mainform.Requery
Forms!Mainform!Sales_Admin_Form!Sales_Admin_SalesI D.Value = SalesID.Value
Forms!Mainform!Sales_Admin_Form.SetFocus
Forms!Mainform!Sales_Admin_Form!Sales_Admin_SalesI D.SetFocus

[code]....

View 1 Replies View Related

Check Box On Forms

May 6, 2005

Hi all,

I am a beginner and this question might seem stupid, but here it goes...

I want to put a few check boxes on a form...Basically I want to have week 1 to week 10 check boxes to register student's attendance. I would them export data to excel and use pivot table to generate a report. What I could not figure out yet is how to link a check box to a field on a table...

Any help is very much appreciated....

Cheers!!!

View 1 Replies View Related

Forms :: One Table / Three Forms - Each Form With Control Tabs

Jul 4, 2013

I'm trying to make a very simple click through data entry screen in Access 2007. For each record I want to have a standard form with three buttons at the bottom. Each button opens a new form (each form has a set of tabbed pages on it as there is lots to enter).How do I make sure that each of the additional forms populate the same record as the main form.

View 1 Replies View Related

Forms :: Activate Event Not Triggering With Sub Forms On Tab Control

Aug 18, 2014

I have a main form that holds a tab control with a number of sub forms. One of these subforms has a pop up form for adding new records to it. After closing this pop up form I would like to initate code on the sub form where the new record now will appear. One of the things I like to do is simply to set focus to the record the user just added.

My problem is that I cannot seem to get any event to trigger in this setting (bben trying more or less all). If I understand things right the fact that I am using a pop up form and the fact that I am using a tab control both seem to interfer with the Activate event and making it passive.

How I can trigger code on the sub form (after closing the "Add New" pop up form)?

View 6 Replies View Related

Forms :: Navigation Form - Using DB Forms Under Its Subform Control

Jun 19, 2013

I am attempting to create a Navigation Form to allow another computer in my network to be able to utilize necessary forms within a database (through RunTime). I was hoping this would be a clean task by simply loading the forms into the tabs of the Navigation Form, however that is clearly not the case.

For starters, When attempting to use a form that has some VBA behind it (Docmd.ApplyFilter based on a selection from a combo box), I am given the error stating: "The action or method is invalid because the form or report isn't bound to a table or query."

After searching on this error, I believe it's because my Navigation Form does not have a record source. If this is the case, then I am confused as to what record source it should have, as with the 3 forms I need to access through the Navigation Form all pull data between various tables and queries within the database (some not related).

Now I've also come to the conclusion that my VBA references now must change in order to correctly use my forms. A correct reference would look something like:[Forms]![Navigation Form]![NavigationSubform].[Form].[My Form's Control]..Is this necessary in order to write any events, such as an AfterUpdate on a combo box?

View 4 Replies View Related

Check Box Tool For Forms

Apr 20, 2006

please see attachment.
I created a small database to help explain my issue.

When I click on the check box in box 1(train), the text box turns blue...great...and even better the other records stay clear when I scroll down, which is what I want to happen.
But when I scroll back up, from dog to train, the blue in the train box has gone- not what I want!
I would like the blue to stay in every box that I click on. Any ideas?

Thanks,

J

View 3 Replies View Related

Use Check Box To Open Forms

May 25, 2006

I have a main form with 2 check boxes. The title of the first box is Manufacturing and the title of the second check box is Purchased. I have 2 different forms based on the titles of the check boxes. After the user checks one of the boxes, I want the user to click a command button which opens the correct form based on the box checked.

Using the On Click for the command button, I created this code, with no success:

Dim stDocName As String

If Me.Check14 = 1 Then
stDocName = "frmManufacture"
DoCmd.OpenForm stDocName
Else
If Me.Check16 = 2 Then
stDocName = "frmPurchase"
DoCmd.OpenForm stDocName
Else
stDocName = "frmError"
DoCmd.OpenForm stDocName
End If

End Sub

Thanks for helping with this problem.

Jeff

View 2 Replies View Related

Check To See If All Forms Are Closed

Oct 17, 2006

I've been stomping around in the forums for an hour now and I have to ask for some help because I really don't know what it is I am looking for.

I am interested to know if there is a way to write VBA code that reopens my menu form if all other forms have been closed. The database window is hidden in my app and normally when all windows close this will exit Microsoft Access too.

If there's not an easy, established way for this, I'm not really in a spot that requires me to use this, I just wanted to know for future forms.

I guess my real question is how to you build events for the entire database, not just a single form or report?:confused:

View 4 Replies View Related

Forms :: Clear Yes / No Check Box

Mar 13, 2013

I am using my form to add job descriptions and if the user checks the check box for current, it adds the description to the table as the current job description. I need to clear the check box for the next entry but the box retains the choice so when the user selects another description, the form saves it as current even if the box shows no check in the box. I tried the code below, but that only changes the state of the box, but not the reality of the state of the box.

Code:
Me.CheckBox.Value = No

View 9 Replies View Related

Forms :: Check Box Depending On Day

Jun 10, 2013

I'm currently making a signup form for a 6day event.

Certain details are taken (Name, Age, Contact no etc).

I also have a registration form; so when someone comes back for the second day of the event I tick the 'saturday' checkbox, or 'monday', or whatever the day is...

When someone comes to sign up for the first time, I'd like the form to automatically check the box for that day (to indicate their attendance). This would save me opening two forms to signup one person, if I make sense.

So, when someone comes to register on a Tuesday, I fill in all their details - and then it automatically checks the 'tuesday' field box.

View 4 Replies View Related

Forms :: Check Boxes Only Allow One

Jun 30, 2014

I'm unsure of the best approach for this. I have 4 check boxes to verify. Only 1 of them can be checked, the others need to be disabled. But the user must check one of them.

their control sources are:
admn
sprvsr
data
reado

View 3 Replies View Related

Forms :: Check Box In Subform

Jul 31, 2014

I'm trying to create a form to link data. I'll give you an example..I have 25 football teams and 100 players. I want to link 4 to 7 players to each football team. Those players can be repeated in different teams.

I wish to do it with a form where I choose the team first (combobox) and then I select the players in the subform. The point here is that I want to choose the players via a checkbox and I want to see all players in that subform too.

SUBFORM
- [Checkbox] [name player 1]
- [Checkbox] [name player 2]
- [Checkbox] [name player 3]
- [Checkbox] [name player 100]

Is it possible to do without programing Access with VB?Do I need to create an intermediate table with the checkbox and then create the subform?

View 11 Replies View Related

Forms :: Check For Duplicates Based On Name

Aug 7, 2015

I have a form (MemberDetails) and I want it to check if the member I'm adding has already been added, or at least give me a warning that the member might be a duplicate. I have a FName field and LName field that I would like checked (together). I know it's possible because I've seen it done on the Address Book template, but they have it set up to where the First & Last name are saved as one field in another table.

Expression used in the template, here it is.

=IIf(DCount("*","[Contacts Extended]","[ENV_NUM]<>" & Nz([ENV_NUM],0) & " And [Contact Name] = '" & Replace(Nz([Contact Name]),"'","''") & "'")>0,"Possible Duplicate","")

View 14 Replies View Related

Forms :: Check If Form Exists

Sep 9, 2014

I have the following vba to check if a table exists, but I can not find on the net how to check if a form exists, I tried to modify this script but there does not seem to be a formdef

Code:

Sub table_Exists()
Dim dbs As Database
Dim tbl As TableDef
Dim dbsExist As Object
Dim tablename As String
tablename = "Table2" ' Your Table Name
Dim exists As String

[code]....

View 7 Replies View Related







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