|
-
Jun 27th, 2005, 09:40 AM
#1
Re: Passing Arrays around Classes and subs
you will need to convert you string array to variant array of strings
probably won't be able to "convert" the array, so you will have to copy the elements into a new array of variant type
pete
-
Jun 27th, 2005, 09:43 AM
#2
Thread Starter
Don't Panic!
Re: Passing Arrays around Classes and subs
Hmmm - I knew the arrays were useful and I recall (vaguely) that I had this problem before. Not exactly what I wanted to do, but I guess I have no choice.
All I wanted was a reference to the array held on the form (or module) and then I can nuse the code in the class to pull the data I need from it. Not possible huh?
I'll have another experiment and see.
Thanks for the reply
Edit:
I have tried a simple one to another referenced array - and it works !!
This is only between subs in the same module though, and I have a feeling Classes screwed that up a little. I'll post back in a while.
Last edited by Ecniv; Jun 27th, 2005 at 09:50 AM.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|