Updating a date memobox on all pages when edited on any page
Is there a way to have a memobox on each page, so that when one memobox is edited on any of the pages, the value of the membox in all the other pages is changed to reflect the new value?
I seem to only be able to edit the sender object.
An alternate solution I've already had working before would be to get the date from the user on a dialog page that's shown before the report is displayed, but that's not ideal in this situation.
Thanks in advance.
I seem to only be able to edit the sender object.
An alternate solution I've already had working before would be to get the date from the user on a dialog page that's shown before the report is displayed, but that's not ideal in this situation.
Thanks in advance.
Comments
Hi.
Have you considered:
- put your input in a user dialog, and set the dialog.visible=false
- show the dialog from your memo's OnDoubleClick-event
- re-run your report in the dialog's OnDeactivate
I attach a small report used to test the concept.
Petter
Do bands cause issue with this? I forgot to mention that the memobox is a single memobox inside of a page header. I tried it both using the single memobox instance, and then using three memoboxes, like you do in the example, but both times, I get an error that says "Access violation at address ________ in module __________. Read of address ___________. The error type is an EAccessViolation.
Are the bands a problem for this? The example you gave me works fine.
Thanks for the help!