Am Mo, den 31.01.2005 schrieb sos um 12:37: > > > ' For ii=LBound(oSelection) To UBound(oSelection) > > > ' Print oSelection(ii) > > > ' Next > > > oDataSourceBrowser.getModel(oModel) > > > >You can try here like this (untested): > > oModel = oDataSourceBrowser.getModel() > > no, tryed it first like Omodel = .. I think i have to define Omodel in a > different way, has to be a DATAform ?
You're right, it is always NULL. Seems to me like a bug, because in the IDL reference one can read: :: com :: sun :: star :: form :: interface XFormController ... This is also reflected in this interface: If you call XTabController::getModel on a form controller, the form which the controller is responsible for will be returned. ... I'm not really sure yet if this is really a bug you discovered or if we're doing something the wrong way... HTH, Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]