4 Replies Latest reply on Jul 9, 2013 6:43 AM by philmodjunk

    Back to Previous Table

    gjbrewer

      Title

      Back to Previous Table

      Post

           How to setup a button to take me back to a previous table? I have in some cases two ways to get to a table. How do i setup the back button so it takes me back to the page I was on before i went to the table?

                      
                     Preferences
      §
      1
      2
      3
      4
      5
      6
      7
      8
      9
      0
      -
      =
      Backspace
                           
      Tab
      q
      w
      e
      r
      t
      y
      u
      i
      o
      p
      [
      ]
                                
      Return
                                
                           
      capslock
      a
      s
      d
      f
      g
      h
      j
      k
      l
      ;
      '
      \
                           
      shift
      `
      z
      x
      c
      v
      b
      n
      m
      ,
      .
      /
      shift
                           
                                
                               English
                                     
                                     
      alt
      alt
                           
                      
                     Preferences

            

        • 1. Re: Back to Previous Table
          philmodjunk

               That would be a case of needing to go back to a previous Layout, not a table.

               Scripts can save the name of the layout or the number of the layout in a global field or a variable. Then a "go back" script can use Go to Layout name by calculation or go to layout number by calculation to return the user to the previous layout.

          • 2. Re: Back to Previous Table
            gjbrewer

                 Im figuring out most of what im working on with this project, yet this one has been difficult.  How would I build this script set? 

                            
                           Preferences
            §
            1
            2
            3
            4
            5
            6
            7
            8
            9
            0
            -
            =
            Backspace
                                 
            Tab
            q
            w
            e
            r
            t
            y
            u
            i
            o
            p
            [
            ]
                                      
            Return
                                      
                                 
            capslock
            a
            s
            d
            f
            g
            h
            j
            k
            l
            ;
            '
            \
                                 
            shift
            `
            z
            x
            c
            v
            b
            n
            m
            ,
            .
            /
            shift
                                 
                                      
                                     English
                                           
                                           
            alt
            alt
                                 
                            
                           Preferences

                  

            • 3. Re: Back to Previous Table
              RickWhitelaw

                   Phil has answered your question. As far as the vertical list  you've now posted twice, I must confess I have no idea what you're getting at.

              • 4. Re: Back to Previous Table
                philmodjunk

                     The "vertical list" appears to be an artifact of the user's web browser. I've brought that to ModMan's attention previously as I've seen it before.

                     A script that "saves" the current layout name:

                     Set Variable [$$PrevLayout ; value: Get ( LayoutName ) ]

                     A script that returns the user to the saved layout:

                     Go to Layout [ $$PrevLayout ] // use the layout name by calculation option

                     There are multiple options for what you do with those two script steps as they can be included in existing scripts that take the user to another layout or set up via script triggers. Script trigger controlled scripts for this have to be implemented with care or the current layout will "save" over the top of the name of the previous layout--preventing the user from returning.