Re: How to pass an dynamic array between modules?
There are a couple of ways to deal with this. Way one is to make your
dynamic array global. That way it is not likely to go out of scope.
When the array goes out of scope, you lose all your data - the garbage
collector underneath the hood of Access will destroy all resources
connected to that array and release resources from the heap - deallocate
memory.
An easier way to deal with this would be to write the data from the CSV
file to a table. Then use the data from the table.
Rich
*** Sent via Developersdex
http://www.developersdex.com ***
.
Relevant Pages
- Re: Is it possible to use the value of the PROGRAM ID within the source code?
... Until the universal availability of scope terminators there were ... But 'reusability' is not a unique feature of OO design. ... remain and some are now garbage. ... A tree can be made faster by increasing its width; an array ... (comp.lang.cobol) - Re: Packages and returning errors
... > array intact. ... sub is_a_instance_method { ... my $class = shift; ... You need to fix the scope of $error by moving its declaration outside ... (comp.lang.perl.misc) - Re: Postscript questions
... It looks as if you believe the curly braces are defining a scope. ... Curly braces are behaving much more like the square brackets, the array "delimiters". ... The difference is deferred execution, ... Evaluating an executable name means that the interpreter searchs the name through the dictionnary stack and when found, evaluate the value associated with the name. ... (comp.lang.postscript) - Re: [crit] Fallen
... I personally would class an array as a persistent data structure, ... assuming that it doesn't have local scope. ... A persistent array requires making a copy of the whole array each time ... impose new terminology by getting the old terminology wrong, ... (rec.arts.sf.composition) - Re: Postscript questions
... It looks as if you believe the curly braces are defining a scope ... The difference is deferred execution (and ... A procedure is an executable array. ... Evaluating an executable name means that the interpreter searchs ... (comp.lang.postscript) |
|