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.

Comments

  • edited 7:45PM
    seafea wrote: »
    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.

    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
  • edited 7:45PM
    Petter S. wrote: »
    Petter S. wrote: »
    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.

    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.
  • edited 7:45PM
    Actually, it looks like I just did something wrong in my implementation. I've got it working now.

    Thanks for the help!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.