Announcement

Collapse
No announcement yet.

save changes in details forms when click save changes in master form

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

  • save changes in details forms when click save changes in master form

    i created a master/detail application when i save changes in master from the changes in details forms not be saved
    there is a way to save all changes in details when i click save button in master ???

  • #2
    I also need to do this with sc7 and can not find the way

    Comment


    • #3
      Yes there is a way but you need to make it manual from CODE. Due scriptcase handle each application as separate, master is one app and detail is another app HERE IS a way to do it.

      MASTER APP:
      - Every time that a user make a change on a filed, you need to use AJAX EVENTS to save changes on MASTER APP

      DETAIL APP:
      - Every time that a user make a change on a filed, you need to use AJAX EVENTS to save changes on DETAIL APP

      ---------------------------
      And now all your changes on both apps will be updated.
      Last edited by hirambq; 08-05-2013, 06:22 PM.
      Best Regards
      Hiram BQ

      Comment


      • #4
        Hi Hiram,

        I know this thread is old but, could you please explain in more detail the steps and macros involved to achieve this?

        Comment


        • #5
          Originally posted by ancr2001 View Post
          Hi Hiram,

          I know this thread is old but, could you please explain in more detail the steps and macros involved to achieve this?
          If i could see your app i think i could help. You can share your desktop with skype or team viewer. If you want help, please send me a private message.

          Comment


          • #6
            hi paulomarcelo,

            Thank you for your reply. The best I can do is give you some screen shots and explanations. The screen shot are in order starting with start.png. This is an online employment application. The problem I see with it not being able to control all details with one button, is that most end users wouldn't realize that they have to click save or add on each individual detail app. Also, this creates a problem where they can accidentally make new records on the respective tables that would end up being assigned to their ID. I placed a submit button at the bottom just for show. I would like for the toolbars of the detail to be empty, except maybe the multiple row form due to it's nature, and the submit button commit the transactions from each app to each table. All the apps are build on different tables. I was thinking about making one huge table with everything in it but it would be an inefficient workaround. Let me know if you need more info.









            This is a protected photo album. Password is scriptcase. I could only include 4 images in this post.

            Comment


            • #7
              Here are the last two images.



              Comment


              • #8
                I saw your reply, These passing days I was in a hurry to deliver many projects that I have to develop. If I understand correct, i think you want fill the master application and details application and with just one button you can save all info in every application automatically. I do not know how to do this in scriptcase because the detail app is on iframe, I think that it is only possible if you use javascript, but i do not have sure about this.

                Comment


                • #9
                  Originally posted by ancr2001 View Post
                  The problem I see with it not being able to control all details with one button, is that most end users wouldn't realize that they have to click save or add on each individual detail app. Also, this creates a problem where they can accidentally make new records on the respective tables that would end up being assigned to their ID.
                  I usually place the master and detail forms as different tabs. However the problem of the user clicking save for each detail app is still there. I'll have to look into this further.

                  Comment

                  Working...
                  X