Juraj Trenkler wrote:

Something like

  oForml.ApplyFilter=true
oForml.Filter="`rodnec` = "+"'"+sRodnec+"'" REM sRodnec is Global variable assign to event when loading form.

Thank you,thank you, thank you, it worked. Actually I assigned the values the calling form using the return object from like this:

f=loadComponentFromURL(...)
f.DrawPage.Forms.GetByIndex(0).ApplyFilter=True
f.DrawPage.Forms.GetByIndex(0).Filter="My Filter SQL Expression..."

In fact, I wouldn't need this if Base could support editable views.

The conclution is that the Documentation for OOo scripting and UNO is very poor right now. Please Sun do something about this, we'll buy...

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

Reply via email to