G
Guest
I have never used VBA in Access, but I am an advid user of the tools
available within Access. I have a new problem that I do not know how to deal
with and think VBA coding is the best solution to my problem. I have over
980,000 records that I need to go through and compare two columns to capture
information in a third column to build a new table.
A sample of the data and what I am trying to get the end product to look
like is contained below.
Sample Data:
Meats Cook Time
Chicken Broled 35 min
Chicken Fried 7 min
Chicken Baked 30 min
Fish Broled 25 min
Fish Baked 20 min
Fish Fried 6 min
Fish Stew 65 min
Beef Stew 75 min
Beef BBQ 40 min
Output in new table:
BBQ Baked Broiled Fried Stew
Beef 40min 0min 0min 0min 40min
Chicken 0min 30min 35min 7min 0min
Fish 0min 20min 25min 6min 65min
If someone can tell me how I can use VBA code to do this I would greatly
appreciate the help. In my mind I would use some kinda loop iterate through
the data with some if statements to validate the columns. My problem is I do
not know how to write VBA code but I can write Java code. Any help or
recommendation toward a reference document would be greatly appreciated.
Thanks,
Stupmed
available within Access. I have a new problem that I do not know how to deal
with and think VBA coding is the best solution to my problem. I have over
980,000 records that I need to go through and compare two columns to capture
information in a third column to build a new table.
A sample of the data and what I am trying to get the end product to look
like is contained below.
Sample Data:
Meats Cook Time
Chicken Broled 35 min
Chicken Fried 7 min
Chicken Baked 30 min
Fish Broled 25 min
Fish Baked 20 min
Fish Fried 6 min
Fish Stew 65 min
Beef Stew 75 min
Beef BBQ 40 min
Output in new table:
BBQ Baked Broiled Fried Stew
Beef 40min 0min 0min 0min 40min
Chicken 0min 30min 35min 7min 0min
Fish 0min 20min 25min 6min 65min
If someone can tell me how I can use VBA code to do this I would greatly
appreciate the help. In my mind I would use some kinda loop iterate through
the data with some if statements to validate the columns. My problem is I do
not know how to write VBA code but I can write Java code. Any help or
recommendation toward a reference document would be greatly appreciated.
Thanks,
Stupmed