S
Steve P
Hi everyone...
I'm working on a database right now and am writing a macro that will perform
a number of simple append queries in addition to some more complex
statistical analysis. I'm not good at all with arrays and have no idea how
to use them, but I know they could drastically improve my code's efficiency
if properly used.
I have a step in my macro that deletes records from a number of tables whose
names start with "OUTPUT". I'd like an array at the beginning of the script
to identify all tables with "OUTPUT" at the start of the table name and later
use that list to delete all records from those tables. As I add more tables
in the script, I'm trying to keep from hardcoding repetitive stuff and know
an array could really help.
Any ideas? I guess this question is more of a tutorial request on how to
use arrays. I do have a very specific use currently, but I need to get
better with arrays in general...PLEASE HELP!!! THANKS!
I'm working on a database right now and am writing a macro that will perform
a number of simple append queries in addition to some more complex
statistical analysis. I'm not good at all with arrays and have no idea how
to use them, but I know they could drastically improve my code's efficiency
if properly used.
I have a step in my macro that deletes records from a number of tables whose
names start with "OUTPUT". I'd like an array at the beginning of the script
to identify all tables with "OUTPUT" at the start of the table name and later
use that list to delete all records from those tables. As I add more tables
in the script, I'm trying to keep from hardcoding repetitive stuff and know
an array could really help.
Any ideas? I guess this question is more of a tutorial request on how to
use arrays. I do have a very specific use currently, but I need to get
better with arrays in general...PLEASE HELP!!! THANKS!