>I also have a need to have the underlying views recognized by the framework so when the top level view is opened as the InitialSelectedAlias, the framework will close the underlying views when the bizobj is released. I have tried making the underlying view the initialselectedAlias and then calling this.setalias(toplevelview) to set it how I really want it, but I don't know how to define the views and configure the data environment to have all this workout.
>
>Help!
>
>Thank You,
>
>Gary Pike.
Gary, along with Paul's advice, you could have a separate bizobj with the underlying view and instantiate it before the PrimaryBizObj instantiates. The thing that I've found is that the underlying view must be supported by the actual data in it's base table if your are going to use that data to obtain data in the primary bizobj.
IOW, you can't have an empty view, populate it with data manually, then requery the toplevelview and expect to see any data in it.
Gil Munk
"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson