That would solve sorta half my problem. Let me elaborate.
Let's says I have an object myBO, it has pulled 10 records from a database. I want to be able to create another object BOentry and set it to an instance of the first record in myBO. Then I may play around with myBO moving back and forth looking at other records but leaving BOentry still pointing to the first record. So here's some imaginary code
' Create a business object
myBO = New SampleBO
myBO.Fill10()
' Now get an instance to the first record
Dim BOentry as SampleBO
BOentry = myBO
Call FindNextEntry(myBO) ' Some other function that may navigate the myBO
BOentry = ??? ' At this point I have no clue what BOentry is pointing to since BOentry is simply a shallow copy (only pointing to myBO, and not a specific instance (or row) of information within myBO) if FindNextEntry called a MoveLast then BOentry is now pointing to the last record in myBO not the first. The simpliest solution is to be able to create a new SampleBO object that truly contains an indepedent instance of the object. For example, lets see it with a collection instead
myColl = New Collection()
FillCollection(myColl) ' Add the rows to my collection
' Create a new object
Dim CollEntry as SampleObject()
CollEntry = myColl.Item(1)
Call FindNextEntry(myColl) ' Some other function that may play around with the collection
CollEntry = myColl.Item(1) ' CollEntry is still pointing to the same instance of the object
Jason SeidellProgrammer/Analyst
Infinedi