Hello - sorry if this has been asked before, I've searched but may have missed it.
Can I set a button's Additional Information to the value of a field on the form? If so, what's the syntax?
Thanks!
[Solved] Setting button's Additional Info to a field's value
[Solved] Setting button's Additional Info to a field's value
Last edited by cormac on Tue Jun 18, 2019 10:38 pm, edited 2 times in total.
Windows 8.1 OpenOffice 4.1.6
-
- Volunteer
- Posts: 1544
- Joined: Wed Jun 24, 2015 12:56 am
- Location: Colorado, USA
Re: Setting a button's Additional Information to a field's v
If you initiate this macro with an Approve Action event on a push button control you can set the value in the Additional information property.
Code: Select all
Sub SetAdditionalInformationProperty(oEvent as object)
oEvent.Source.Model.Tag = "SomeTextString" ' or some text field on a form
End Sub
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Re: Setting a button's Additional Information to a field's v
Great - thank you!
Windows 8.1 OpenOffice 4.1.6