I created a database (hsql) in OOo 2.0 transfering tables from an older
I used to have in OOo 1.1.4 (data source was a sxc file). I recreated a
form for that database. The form has a button to toggle a filter in a
subform. It worked in 1.1.4 but it doesn't in 2.0. The button has the
following code attached:
Sub Filter_Toggle
Dim SubForm As Object
SubForm =
ThisComponent.DrawPage.Forms.GetByName("Standard").GetByName("sub1").GetByName("sub2")
if SubForm.Filter="" then
SubForm.Filter = "(""C3_B""='')"
else
SubForm.Filter = ""
end if
SubForm.reload()
End Sub
Any ideas why this macre doesn't seem to do anything at all in OOo 2.0?
Thanks.
--
/"\
\ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
X - AGAINST M$ ATTACHMENTS
/ \
Manolis Christodoulou MD.
http://users.forthnet.gr/pel/mchris
http://palmpowereddoctor.blogspot.com
mailto:[EMAIL PROTECTED]
Skype VOIP Phone: mchris21
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]