Greetings all! I could really use some guidance,
I've been learning Access for about a week (spending a couple of hours a day), and I am stuck on intermingling two tables together and updating/expanding the data in one table from the other. In my situation, I have two tables (table primary, and table secondary), table Secondary breaks down and adds to the detail of the information in table Primary.
IE, table Primary has a column titled 'FullCode', which consists of an alphanumeric entry (IE, 1C4D5P1)where the first number ('1' in the example) increments for every entry (1, 2, 3...999 etc.) and each alphanumeric pair (C4,D1,P4, etc.) refers to a state (Pennsylvania, etc), and the number of geographic features of the desired type (IE, Pennsylvania has 4 lakes of interest).
Table Secondary is mainly a break-down of the 'FullCode' column of table Primary; it has the 'FullCode' column (which takes the data exactly from table Primary), but it also has columns for each of the states I am looking at (Delaware, etc.) which accept the numeric value, (IE, C4 would add the value '4' to column 'California', in the same row as '1'), and do the same with the rest of the states.
I have tried messing with macros, forms, queries, and VBA coding (I have a Java background and thought it would be easy; while the logic is simple enough (I did the pseudo code in-between frustrating failed attempts), I cant figure out how to apply it to Access' environment in VBA! (I think I could export the data to a .txt file and write a java program to break it down in the desired way, then re-import the data, but I really want to keep everything within access).
Ideally, I would like to know a way where I could convert my current data into the second, more detailed table, and every time I entered more data into the primary table, access would update the secondary table automatically without me manually entering all of the data. Also, I would love if there is a way to list if an area is sterile of the desired feature (if an area only had the identifier number in the 'FullCode' and no alphanumeric pairs, another column 'sterile' would indicate the entry as being sterile).
So I guess my question is, can anyone (or several) of you empathetic and truly generous souls please guide me in any direction(s) that would help me learn
a) If any or all of these options are possible? (1,To have access break down an alphanumeric sequence into different sections; 2, to have access enter data from one table to another; 3, for access to update one table after data is input into another table; and 4, (I did not talk about this earlier), is it possible for VBA coding to pull data from, and input data into a table? and if so, do you know a good guide/tutorial in how to do this? (preferably, from a java standpoint, but I honestly don't expect that much))
b) What methods I could use to accomplish my goals? (Macros, queries, forms, VBA coding, etc.)
c) Can you direct me to an area where I can learn how the methods in b can be applied to my situation?
I have posted on enough of these types of forums when I was going through my Java growing-pains to feel the desire to let you know that I feel I have exhausted my other options before admitting defeat and posting on this forum, so please be nice and don't assume I am being too lazy to search for solutions myself (or whatever). I am a brand new access user and this wall is rather frustrating at this point and I could really use some guidance from those more knowledgeable.
Thank you,
-CSebak