Announcement

Collapse
No announcement yet.

master detail / detail not refreshing

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • master detail / detail not refreshing

    I have a master-detail form. The key of the master is changed by a drop down causing an ajax event to refresh form data. But the detail is not refreshed. Is there a solution to this?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    Yes, can be closed, just a checkbox on the select to refresh the form.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      This works fine!
      but, can you tell me how to do this with a ajax autocomplete or a simple text box? I need to capture an employement ID and load the time sheet data in the details form.

      Kind regards!

      Comment


      • #4
        In my onAfterUpdate I add records to another table with some php and SQL code and I have also a subform displaying these records. Is there a way to refresh the subform after saving the data in the master form?

        Comment


        • #5
          In general by using javascript. You can find out the iframe id and then send the appropiate url to it. I try to avoid and useually refresh the full screen, including the detail, but this should work.
          Albert Drent
          aducom software netherlands
          scriptcase partner, reseller, support and (turn-key) development
          www.scriptcase.eu / www.scriptcase.nl

          Comment


          • #6
            I just refreshed the form with sc_redir. I was afraid it would go back to the first record when using sc_redir, but it doesn't.

            Comment


            • #7
              Originally posted by MartinS View Post
              I just refreshed the form with sc_redir. I was afraid it would go back to the first record when using sc_redir, but it doesn't.
              Because id is saved in session an retrieved when you refresh the page.
              /Giuseppe

              Professional Scriptcase Services
              Some Customers opinions

              Comment

              Working...
              X