I have a form that has unbound check boxes on it. They are linked to a query. The query has the following script in the criteria section
[Forms]![frmTEST]![Check0]
This is set up so that when I put a check in the checkbox and press the control button it envokes the query. I have 6 boxes on the form with the same script for the exception of the [Check0] number.
Right now the way it is set up I have to check the exact sequence in order to get any data. Is there a way that I can simply check a box and pull up all the records that are checked. (Ex. I check "Box 1" and push the control button. I want it then to show me all the records that have a check in "Box 1" regardless of what the other check boxes are.) So far I have not found a way to do this.
Hi I have a form that displays the results from a query. I have a check box that users select in order to show they want to print that record However, it has stopped letting me change the check box, and simply gives me the helpful windows 'bing' when I click on it. All the controls are set to allow me to write to it. Has anyone got any ideas of why this might happen? Cheers Ben salt P.S. If I go into the table directly, I can still change the status of the check box
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)
Hi, sorry but i have a new issue. Ok, here it goes.
I have a check box on my form that "black lists" that related record. I wish to warn the user that when they click/after update the check box, they will no longer be able to work with this contact unless an administrator unblocks the record.
Here is the VBA for what i have done so far.
Private Sub orgMisc_AfterUpdate() Dim intAnswer As Integer intAnswer = MsgBox("Are you sure you wish to Black List this contact?" _ , vbQuestion + vbYesNo, "Time Saver") If intAnswer = vbYes Then orgMisc = True Else orgMisc = False End If End Sub
This works fine except for 1 problem. It prompts me if i change my mind and uncheck the check box. So basically, if (default) is False Then OnClick i want the above VBA to execute. If the check box already isset to TRUE then ignore the above VBA and orgMisc (checkbox) change to FALSE.
If any 1 can offer advice or knows how to solve this issue, that would be great :)
when I open my form i SET UP A QUERY IN THE CONTROL SOURCE that would only selected records that I wanted. That part work fine. The problem that I have its when i get to the last record , how do you determine that you are at the last filtered record?
is it possible to use a check box to excecute different parts of a query? or to select which queries i want to run. and if so how can i do this.
Ex... i run different queries on different tables all the time...table names change but they have the same columns and thus my query stays the same except for the table name. but i don't run all the queries on all the tables,,,how can i select, using a check box, which queries i want to run???
I'm looking to create a query which I can use to produce a report. In one of my tables I have an "In Progress" check box.
I'd like to create a query which will show all records with the "In Progress" box checked. I'm just not sure what to enter in the criteria field in the query.
OK....I have done a search but am still none the wiser regards allowing for VAT (added to an old thread but no luck!).
I am designing a little DB for an accountant at work. He wants to be able to keep tabs on orders he places with various vendors (currently uses excel) but he needs to generate reports etc. I have done this but would like to afford him the ability to add VAT to the order total if required.
So here is what I want to do. I want to add a check box to an Order Form that will add VAT at the current rate. If the VAT rate changes at some point in the future I do not want historic data updated to the new rate.
I want to add it to the Order Form as not all companies being invoiced are VAT registered. This will give the user the option to add VAT or not.
I have had a little play (see attached) but do not know how to get it all working!
Help, advice appreciated (or if anybody has a working example of VAT?). Cheers, Phil.
I am new to access, and no nothing of programming, so please keep any answers simple!!
I have a form which the user then inputs data, I need to check that the data does not exist in a table. I was trying to do this with a validation rule, but can't get anything to work.
I have a form that users type in a part number and a due date. I then run a report that prints the part number, the components needed and the processes needed. For example:
------User Form-------
Part 1 6/25/05 Part 2 6/28/05 Part 3 7/1/05
---------Report--------
Part 1 6/25/05
Component 1--------SAW-----WELD------SMOOTH Component 2--------WELD-----PAINT ------------------------------------------------------------- Part 2 6/28/05
Component 1--------DRILL-------WELD Component 2--------SMOOTH-----PAINT ------------------------------------------------------------- Part 3 7/1/05
I'm confused about how to go about this. I don't want the users to have to manually type in anything. I want the components and processes to show up when they type in the part number. I want the user to be able to check off processes as they go, but I want all the processes to show up when they type a new part in the form. I would appreciate it if someone would point me in the right direction.
I have a form with a series of check boxes (see image below). The check box is always in the top left had corner and is very small. Does any one know if it is possible to:
a. Have the check box in the centre b. Enlarge the check box, so the tick itself appears larger
I have a form in wich I can add and edit employees. I can open this "employee" form in 2 ways: 1. From another form 2. From the mainmenu
When I close the "employee" form I want to check if the otherform (1.) is open. If it is open I want to requery the other form. If it is closed I don't want to requery the other form. How can I check if the other form is open?
I hope that you guys can help me and thanks in advance, Johnny
We use 2 different forms for employees based on status. Pending, and active. Staff members should not be able to be set to active unless all the fields on the Pending form are completed. Is there anyway I can check to make sure the form is completely filled in before allowing a status change to Active?
I have a continous form that contains text boxes, combo boxes and a check box. Upon clicking the check box, I have added code to disable the text and combo boxes on the corresponding row. However, when I click the check box, all rows are disabled (which is want I don't want).
Is there any way to only have the row, where the check box is checked, to be disable, and none of the other rows (where the check box is not checked)?
Hi all first post but im hoping someone can help. Im tryng to make a form with 3 check boxes on it and a results text box and a command button, that when dependent on if the check box was ticked then after the command buuton is presses this will display the result in the text box?
Im pretty much new to all this any help would be amazing thanks!
I'm using a select query to attempt to create a list of jobs available to be booked onto. However i get multiple records due to the relationship between
job>booking<Engineer
The form it is being used on the booking form as a subform. the query is called "Current Available Jobs"
if anyone has any suggestions would be really appreciated!
I have a form I am creating from a query that has numerous yes/no checkboxes. I have been able to enter over 2/3rds of the yes/no boxes. However, I'm trying to enter the last of these into the form, and they suddenly change to text boxes. When I go back and check the query, they have also changed to text boxes there as well. I've checked and re-entered the data from the table to the query and finally to the form again. Same thing happens everytime. Any idea what's going on here? Thank you ~
How do I make a simple query check to see if an query gives any match.
The background is that I want to do a checkup if a customer is already in the table before the user enter a new one. As it is now a form popups after the user have entered a name for the new customer. In the popup I list all customer that match.
What I want to do is to not show the popup if there is no match.
I open the popup with DoCmd.OpenForm with filter information.
Is there something like if currentdb.execute("select * from customers where name LIKE '*" & name & "*') = true then .....
I have a filed and I want to find out its length then in the next column i have to add the data like if filed 1's length is 1 then it should be 000+field1.value, if it is 2 then 00+field1.value, if it is 3 then 0+field1.value and so on...any help is appreciated , thanks