Many thanks for your reply.
I foolishly thought that if I passed the object into a function BYVAL, then the object properties would not be altered.
Of course this is not the case with objects and you were absolutely correct in that the bitwise methods had altered the original...
I'm trying to pass 2 bitarrays to a function that ANDs the bitarrays and returns the count of bits that are set to TRUE.
However, something strange happens when I reference the bitarray from within the function and the results are non-sensical.
So I have output the bitarray contents before it...
I've got a tab control and want to dynamically add tabs depending on the output from a database.
I can easily add a new tab, however I want to inherit the controls and layout from the initial tab.
Can anyone help me???
Many thanks in advance