Am Di, den 01.02.2005 schrieb Frank Sch�nheit um 09:16: > Hi Marc, Moin auch,
> >>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 > > This may be a problem with the language binding for Basic: The > controller supports both the css.frame.XController and the > css.form.XFormController interface. Both have a method "getModel". In > languages where the interfaces are respected, it makes a difference > which of both methods you call. Basic, however, starts guessing which of > the "getModel"s is meant - and there is no guarantee that it gets the > right one. > > Not sure whether Basic has a mechanism for specifying the interface > whose method it should use ... (something like > oDSB.XFormController::getModel() or so :) > > As a rather nasty workaround, you could do > oDataSourceBrowser.getControls() ' all controls managed by the > ' controller > (0) ' the table control > .getModel() ' the model of the table control > .getParent() ' the database form > > which would also give you the data form. Jupp, that works. Can one count on this technique working for "quite a while" at least? ;) Bye, Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
