Alright, hello everyone. I'm Active Duty and looking to create a Access Database to better organize some of the things for my shop.
Basically I have a form where information is entered to multiple different areas via dates, combo-boxes, text boxes, etc. Eventually the entire form gets filled out. But for other reasons I can not source the form to the table I want the information to go, PLUS I want this information to go to more than one table (All tables will have the same fields).
So I want to have a button where it only takes the information and distributes it to these Tables after being clicked, then clears the form and exits. A verification message would be nice before it does this, asking "Are you sure you want to submit?" If someone could walk me through how to do this, I'm new to access -completely-, I'm teaching myself how to use it... The idea would be something like this:
[Verify Boxes are filled out] ifYes - Continue / ifNo - "Please fill out all information"
[Verify Message] ifYes - Go /ifNo - Don't Go
[Form][TextBox1] --> [Table1][Field1]
[Form][TextBox1] --> [Table2][Field1]
[Form][cmbText1] --> [Table1][Field1]
[Form][cmbText1] --> [Table2][Field1]
[Form][DateBox1] --> [Table2][Field1]
[Form][DateBox1] --> [Table1][Field1]
[Form][TextBox2] --> [Table1][Field1]
[Form][TextBox3] --> [Table1][Field1]
[Form][TextBox3] --> [Table2][Field1]
[ClearEntireForm]
[ExitForm]
[RefreshDatabase]
I'm assuming I would put this on the button's OnClick?
Sorry I'm new to Access. Everything I've done I'm teaching myself how to do. The biggest road block is that I'm not familiar with the Access Script Language AT ALL, but I am familiar with script. I need a Access Script For Dummies book :P So if anyone wants to explain some things to me that would be really helpful, that way I can better understand how the script for the above to happen was wrote, and manipulate that in the future to do different things that way I don't have to keep coming here to get people to write script.
I understand it's a bit contradicting to how Access was built to work, but believe me when I say there is a reason and method to my madness. Due to how many years of records need to be filed, I don't want to have people creating unnecessary records that lag the database.
-------------------------------------------------------
Site Note:
Would it make any difference if I was storing the 'Historic Records' on 'Table2' (Basically my History Table) on a external database? Or would that just lag it more not having it all on one database?
Do i have to do anything special to make sure it knows every time the button is pressed to create a new record? Or is that kind of a given by Access? Mainly because this form will be submitting data to these tables, each form submit will be an entire record, and other forms will be submitting records to these tables. So is anything extra needed in the code to say create new record before submitting data to these tables?