var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Preserve data in array
I am using an array to populate a list box. The record source type is a function DocStatus. DocStatus populates the array and then fills the list box. All of this works fine.
My problem is that I need the data in the array for other things. However, the array is cleared out when DocStatus completes. How do I prevent the array from clearing?
The array is available to all procedures and I am using Redim Preserve to add additional elements.
Copy the array
Try copying the contents of the array to another array within the DocStatus function, then refer to the other array whenever you need to access the data outside of DocStatus
Post the function code....It may be easier the pass the Array you want to use to the function and have it returned intact.
This turned out to be programmer error. I was pointing to the wrong element. Access was just doing what I told it to do.