Hi I'm trying to make my database user friendly and I have a question:

From one form, A, I'm launching another form, B, using a button with this macro attached:

|Sub  openFormByTag(oEv)
    cWhat=  com.sun.star.sdb.application.DatabaseObject.FORM
    oModel=  oEv.Source.getModel()
    sName=  oModel.Tag
    oView=  oModel.Parent.Parent.Parent.Parent.getCurrentController()
    oView.loadComponent(cWhat,  sName,  FALSE)
End  Sub
|

Works fine, but: I would like to specify a row id or something in form A so that form B scrolls automatically to the the particular row I want to view or edit.

Doe anyone have an idea about how this can be done?

Or perhaps where I can find some documentation for this stuff? I have a hard time figuring out the hierarchy of the objects as well as their exposed members and methods. Or maybe I not looking the right place :-)

Thanks in advance.
Soren


--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to