Query - Array

indesisiv

Access - What's that?
Local time
Today, 17:28
Joined
Jun 13, 2002
Messages
265
Not really sure if this is possible but here goes

I need to place the results of a simple select query into an array. Does anyone know if this is possible ... and if it is how would I go about doing it??

Steve
 
Looks good

Except -
I can't figure out what to do after the array is done.
As soon as the function exits the array is cleared??

So where i call the function from it seems that i can't actually use the array for anything useful.

Any ideas.

Is there a way for me to be able to use the array outside of hte function?

Steve
 
If you declare the array variable globally, outside of a function (right below where you would normally see Option Compare Database and Option Explicit, the array wil always be available whenever the form/module is open.
 
I can't seem to get that to work ...

I think that i am trying to declare the array wrong but i will keep trying.
Also how do you limit the info that goes into the array?

Something like a where statement?

Steve
 
I have sorted out the what is going in to the array by basing it on a query :)
Just can't seem to get the array to work outside of the function.

Damn my monday morning stupidity.

Steve
 
Sorry.

Sorry,
My stupid mistake .. i have it all working now ... thanks all for your help!!
 

Users who are viewing this thread

Back
Top Bottom