Juraj Trenkler wrote:
DΕ?a Po 22. JanuΓ‘r 2007 10:28 Manolis Christodoulou napΓsal:
Thank you. The following code worked, and I kind of understand it!
Sub OpenForm()
Dim forms as Variant
Dim prop(1) as New com.sun.star.beans.PropertyValue
forms=ThisComponent.Parent.getFormDocuments()
conn=ThisComponent.Parent.DataSource.getConnection("","")
prop(0).Name="ActiveConnection"
prop(0).Value=conn
prop(1).Name="OpenMode"
prop(1).Value="open"
forms.loadComponentFromURL("MyForm","_blank",0,prop())
End Sub
But the documentation I found on OOo SDK about the 4th parameter of
loadComponentFromURL doesn't list any "ActiveConnection" and "OpenMode"
properties.
Now let me continue. I need to filter "MyForm". Can I do it from
loadComponentFromURL using some properties?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]