Let me start out by saying thank you for reading this post, sorry if any terminology is confusing or not correctly stated, I am new to access and haven't gotten the hang of it, I have no prior experience with any database programs, however I do know how to code C/C++.
First question I have is: does it matter if I enter new data into a query or table (adding data through a form)? Will it add it to the data set I already have if I do a query?
- I put the macros as being Open Form -> Form Name: "SampleEntryForm" -> Filter Name: " " -> Where Conditions = "[Facility Name]=[Forms]![FacilityTForm]![Facility Name]" -> Data Mode: "Add" -> Window Mode: "Normal"
So if it is a new entry take the "Facility Name" from this form and putting it on the next form for "Facility Name" (I have it go to the next form but it doesnt write to the table just leaves it blank) also it should open to a new entry point or the last spot on the table, but instead just opens all the data
Or if it is an existing entry sort the query by "Facility Name" (this I have)
Second question: How can I tie fields together?
I have a table with basic Facility information I want it to take the Facility name and abbreviation we just picked on the FacilityTForm and use it as parameters or drag it to the entry portion to auto fill those two fields.
I also want the test type to be auto populated, I have an extra table with the Test Type in column one and Test Abbreviation in column two; I want it to auto populate the test abbreviation depending on the test you pick. (sort of the samething as the facility and the facility abbreviations)
I want to do the above so I can just hide the fields and no one can tamper with the abbreviations which are used for a unique code.
I dont know if this possible, but I want our numbering system to look like so ( i have it so the numbers continue but we want them to restart at 0 for each new tests from a facility)
PL-0001-COL
PL-0002-COL
PL-0001-MM
PL-0002-MM
BB-0001-COL
BB-0001-MM
(This isnt as necessary as the rest)
Third question: Checkboxes will auto populate the date/time checked
I've been reading up and found some answers but doesnt really help me out, I guess I need a bit better of an explanation. Most dealt with VBA but didnt explain where or how to write the code to extract if it was clicked.
Last question: making a search form?
If I can just get how to make several textboxes to search for specific fields such as "ID", "Facility Name", "Test Type", "Search Dates" [Date 1] - [Date 2], "Freezer Location"
This info is taken off a table called SampleStatus![]()