Hi!
I am coding for a mini-translator in Access, among several languages.
I am thinking about the best container for the data table.
Multi-Dimension Array is of course a standard programming choice.
But I am considering to put it into a Table, so that I can share the same set of data table with both VBA (by DLookup etc. standard handy tools) and Queries.
The problem and question is: Reading physical table must be much slower than reading Array. But when I use DLookup to read the same "physical" table repeatedly in short period of time (batch process), would Access smartly optimize the process by keeping it in memory? If not, how can I optimize it to be?
N.B. I don't use my beloved Dictionary object as the container, since it cannot show all languages (No. >2) in parallel in the same time, and thus bring less intuitive in data maintenance.
I am coding for a mini-translator in Access, among several languages.
I am thinking about the best container for the data table.
Multi-Dimension Array is of course a standard programming choice.
But I am considering to put it into a Table, so that I can share the same set of data table with both VBA (by DLookup etc. standard handy tools) and Queries.
The problem and question is: Reading physical table must be much slower than reading Array. But when I use DLookup to read the same "physical" table repeatedly in short period of time (batch process), would Access smartly optimize the process by keeping it in memory? If not, how can I optimize it to be?
N.B. I don't use my beloved Dictionary object as the container, since it cannot show all languages (No. >2) in parallel in the same time, and thus bring less intuitive in data maintenance.