I have to write Macros or some other code to automate a series of tasks in my Access 2000 db (I am clueless).
What I need to do in general is:
1) Find the highest value of a column in Table1 and save it.
2) Delete all the rows in Table1 and Table2.
3) Using the Highest Value I just retrieved, place it in the criteria cell for my query (overriding the one from the day before.. ie: >1234 would need to be replaced with >1355 that I just retrieved).
4) Run the query and save the changes.
There are more steps after this (ie: I have multiple queries to run), but this is the hardest part...Any help would be appreciated. Any samples of a similar macro would be useful... Thanks so very much...
What I need to do in general is:
1) Find the highest value of a column in Table1 and save it.
2) Delete all the rows in Table1 and Table2.
3) Using the Highest Value I just retrieved, place it in the criteria cell for my query (overriding the one from the day before.. ie: >1234 would need to be replaced with >1355 that I just retrieved).
4) Run the query and save the changes.
There are more steps after this (ie: I have multiple queries to run), but this is the hardest part...Any help would be appreciated. Any samples of a similar macro would be useful... Thanks so very much...