>>Hi everybody,
>>
>>I have CA class for an Address table that I created using Mark McCasland builder. Now I need to use this class (two instances of it, I assume) on two different pages of the pageframe. What would be my best solution:
>>
>>1) Use the same object (class instance) for both pages and move it to the form instead of the pages. Requery CA every time I switch between pages?
>>
>>2) Create a separate complete copy of the class (and BO class) and use an instance of a separate CA and BO class for the second page? This would mean code duplication... :(
>>
>>More ideas? I'm using MereMortals framework...
>
>A CA instance ( an object ) can't control two Alias.
Thanks. I've created two new CA classes (in code), two new BO classes. Put them on the page and completed programming of the form. I did, however, spent lots of time debugging two problems. First was that I accidentally have Child Biz Obj instantiated before Parent (once realized, I just played with Sent to back and fixed it). The other problem that also took long time to figure out was that I put requery child on requery parent and was wondering why some action takes so long...
Anyway, the functionality is already programmed <g>
I'm now facing another problem on the different form that I haven't yet figured out.
If it's not broken, fix it until it is.
My Blog