WalterAM wrote:
Manolis Christodoulou wrote:
I work with a ODB document which has some forms. I need a macro on one form that opens another form from the same ODB file. I can not figure out how to do it. Please help.

Thank you.


I have the following OOo Basic code laying around. I don't know how well this particular version of it works because I haven't worked with the database it was in in a while. Someone else can probably do a little more with it. I can't right now. Time for bed.


Thank you. Based on your code I wrote the follwing:

Sub OpenForm()
        Dim forms as Variant
        Dim form as Variant
        forms = ThisComponent.Parent.getFormDocuments()
        form = forms.getByName("MyForm")
...
It works so far, but I need a call to open the "form" form on a new OOo window. Can anybody help?

P.S.
Is this me, or UNO lacks good documentation. It seems like I need a PhD even for simple tasks...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to