"Ken Schaefer" <ken at adOpenStatic.com> > Why aren't you storing these things in some kind of collection (eg a > hashtable)? because I have no idea what that means :op how would I set that up Ken? > In answer to your question (why isn't this working as I expect), your > code is currently creating an array, and the *values* of the > variables are being passed into the array as the elements *not* the > original variables. So, it's a ByVal copy, not a ByRef copy (the > values are copied, not a reference to the original type). gotcha, thank you. ------------------------------------- Dorset, England Work: http://www.1976design.com/ Play: http://www.1976design.com/blog/ Learn: http://webstandards.org/