I have a table tblSupplierCriteria. I can populate it from a form that consists of the Supplier Name followed by a dropdown box that lists 46 criteria.
The user selects one of the criteria and then clicks on save. In the table, the saved record looks like - Supplier1 nuts, the next record looks like Supplier1 bolts and so on.
Each Supplier can have between 1 and 46 records. Each is added one at a time. The form works fine but it is tedious. Is there a way that I can display all 46 items at one time and let the user choose by clicking a check box or something and then populate the SupplierCriteria table as described above?
This is part of a highly integrated application and I cannot modify any of the table structures.
In general, if you can display the criteria in a dropdown box, you can display them all in a pop-up form so someone can tick them off.
If you can create a local table, you can copy the 46 criteria from the central data to the local table, and add a Yes/No column so you can record what the user picks.
Base your pop-up form off of the local table. Populate SupplierCriteria based on their choices.
Related
my database has MachineT, ProductT and ProductionT.
each product can be made only in some specific machines (multivalue field).
when planning production I need the dropdown menu to show only the possible machines for that product in a form containing a datasheet view.
In the actual database the ProductionF has a data picker and the subform is based on ProductionQ only for that day and it is important to keep the datasheet view because the planner is adding dozens of records in one sitting.
thank you
*edit - I tried to force the field in ProductionT via lookup but it does not filter for each record.
[If you only have 4 machines], what if in ProductT, rather than just one Machine ID, you have fields M1,M2,M3,M4 as a Yes/No (checkbox) selection, then you can make your combo box where fields = True
or maybe this link can help you http://allenbrowne.com/func-concat.html
Edit
What if you have a new table called something like "Product_machine_combo" and this is where you can combine the relationship between the product and the machine used. You could use a list box that lists the Products and have a ListBox for the machines (kind of shown below; link to this resource: https://www.iaccessworld.com/add-items-textbox-listbox/). I just don't know how it would show up in the table. Or you could add a list box to the product form itself?
I have a table [inventory] with inventory items, and a bunch of columns with different information for those. Mainly, part#, description, price. I am trying to create both a purchase order form [POForm] and, and a inventory transactions form [TransactionsForm], but that one thing I've been stuck on is getting a combo box look up I use to select the part# from [inventory], to also fill my fields for description, and price for that item in my form. I need the fields that are filled to be able to have formula's run off of them, and the information to be saved into the table for that form [TransactionsTable], [POTable].
I've tried making my part# combo box include the fields for the description and price, and using =[part#].[column](x) in the other fields as a lookup, and it looks right visually, but that is apparently just a visual of that data, but technically the field is still blank, because those other fields remain empty in the table for that form, and I am not able to run a formula off the price.
As per my understanding and please correct me if I am wrong. you have a form that shows your inventory data Part# Description & price. This form has a combo box that allows you to select a particular part # to view its related record data description and price.
Now you want to click a command button after selecting a particular part # to update your transaction form and POtable.
1.you have to create a query,
2.insert the inventory table in it
3.select append from the query type in the ms access ribbon
4.a window will appear, choose the transaction table as the destination table to append to.
5.double click on the fields that you want to retrieve its data from the inventory table
6.then in the table below in the query itself in the "append to" row you will find drop-down menu including all the fields from the transaction table. choose the corresponding fields. note if the fields have the same name in both tables access will do it automatically.
7.in the criteria row type the following [Forms]![Inventory Form Name]![the name of the field in the form]. do that for each field in the happen query.
8.save the query and name it
9.go-to design view in your inventory form and create a command button, in the click on event creat macro of the following: openquery-->type the append query name
10.save and close macro builder
11.open your form, select part#, click on the button
12.access will ask you to confirm appending process. click ok/yes
13.check your transaction table to confirm that the append process was successfully performed
14.Tip if you do not want the confirmation msg of append to appear, in the click on event go to the macro builder and choose in the ribbon show all actions then in the first line of the macro builder insert setwarnings - NO
the same is to be applied for the POtable.
Anyways, I hope you find this clear and helpful but I have only one concern you do not have to append part description and price in transaction and PO tables as you already have this data in your database in the inventory table. Generally speaking no need to include the same information in multiple tables otherwise you are not benefitting from the idea of a relational database.
I hope I addressed your inquiry.
I'm a newish user to Access and I'm having trouble using a button to view a set of records based on a query with several criteria. I am creating a database to house employee quality assessments. As seen below the subform pulls four records. view of data showing 4 records when I click the circled button it takes me to the expanded view of the record that is selected on the subform. Once I get there however I only have the one record. expanded view of a single record with no other records available on the navigation bar I would like to be able to browse back and forth between all four records rather than closing the form and going back to the summary. Hopefully someone can point me at what I am doing wrong.
Just so it can be marked as answered - Change the record source of the expanded view form to match the calling sub form's record source.
I have a DB created with information in a few tables.
In the table I have a category in one of the columns labeled as "Supplier"
On the main form of the DB I have a listbox that has all of the suppliers that are in the table. When I click on the supplier name it generates all of the Part Numbers in a separate listbox below. I want to be able to click on the Part Number and then click a button and then it will bring up all the information in the table or all fields in the table based off of the selected part number from that listbox.
Please look at the samples from the link below.
http://www.fontstuff.com/access/acctut18.htm
Martin has lots of good stuff here as well!!
http://www.fontstuff.com/access/index.htm
I have a form in Access 2003 that contains 2 subforms. The first is in datasheet view and is only 2 fields, SiteID and SiteName, so a list of many sites for one record in the parent form. The second subform is the same datasource as the first, but in single form view, so it shows all the site fields for one site in a single form. The idea being that I have a list of the site names on the left and I want to then click on one and have its OnCurrent event filter the subform on the right to show all the fields in that record (for that site).
This seems like a fairly simple thing to do but I can't figure out what code (docmd.gotorecord?, filter?, programatically change the subforms query and then requery etc) is the best to use... and how to make it actually work.
Any help appreciated.
Have a look at the Customer Orders form in the Northwind sample database (NWind.mdb) that ships with every version of Access or can be downloaded http://www.microsoft.com/downloads/details.aspx?familyid=c6661372-8dbe-422b-8676-c632d66c529c&displaylang=en
I think you will find it does what you want.