On Aug 31, 2004, at 6:52 PM, Norman Palardy wrote:
On Aug 31, 2004, at 4:42 PM, Barrie Jones wrote:
On Aug 31, 2004, at 5:26 PM, Terry Ford wrote:
On 31-Aug-04, at 2:04 PM, Will Leshner wrote:
On Aug 31, 2004, at 12:06 PM, Terry Ford wrote:
If you are building your array with the addrow method, that is
handled automatically. You can always redim it yourself as well in
RS.
Append? Insert?
Me wrong, wrong, wrong!!! Give me a thousand lashes with a wet
noodle. Although append is almost the same as addrow in a listbox or
a menuitem. Hmm. Why isn't there some common name here?
It's not Addrow but Append or Insert as Will mentioned. These work
in one dimensional arrays only (I think): [notice the disclaimer so
I don't make a fool out of myself twice in the same day].
Multi-dimensional arrays will, AFAIK, still require re-dimming the
array to it's proper size(s).
I am using reDim with a 2D global array. At the time of doing the
reDim, the newly dimmed array works as expected. BUT it seems to
default back to the Global setting next time I call the array (I am
re-checking my logic). In the meantime, can someone tell me if reDim
should work permanently on a global array?
Yes it should
If it magically reverts to some other setting then you either have
found a bug (which I'd be surprised at) or you have another spot in
your code that you're changing it
Many thanks. Your answer made me look deeper and I did find a Logic
error.
All is well.
Barrie
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|