Page 1 of 1

[Solved] Setting button's Additional Info to a field's value

PostPosted: Tue Jun 18, 2019 3:06 pm
by cormac
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!

Re: Setting a button's Additional Information to a field's v

PostPosted: Tue Jun 18, 2019 7:11 pm
by UnklDonald418
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   Expand viewCollapse view
Sub SetAdditionalInformationProperty(oEvent as object)
   oEvent.Source.Model.Tag = "SomeTextString" ' or some text field on a form
End Sub

Re: Setting a button's Additional Information to a field's v

PostPosted: Tue Jun 18, 2019 10:36 pm
by cormac
Great - thank you!