7 Replies Latest reply on Apr 28, 2017 8:46 AM by JFWX5

    Format Bar Menu

    JFWX5

      Hi,

       

       

      How do I prevent giving the users the option of:  Show All, New Record, Delete Record, Sort or Share; while still giving them the ability to scroll thru the found record set?

       

       

       

       

      Screen Shot 2017-04-28 at 11.08.17 AM.pngScreen Shot 2017-04-28 at 11.07.38 AM.png

       

       

      Thank you

       

        • 1. Re: Format Bar Menu
          Jaymo

          I usually hide the toolbar completely on open. I also lock it. That still leaves the menu which you can hide using custom menus.

          • 2. Re: Format Bar Menu
            JFWX5

            But I still need the Book or slider and the current record number / total record number.

            • 3. Re: Format Bar Menu
              Jaymo

              Did you use the Show/Hide Toolbars step in an Open script?

              • 4. Re: Format Bar Menu
                philmodjunk

                You can add buttons to your layout that move to first, last, next, previous records. And you can insert layout text using the layout number that gives you the current record number and found sets. This will take up much less space than the full tool bar.

                • 5. Re: Format Bar Menu
                  JFWX5

                  Yes, I did.  But this is a new window that opens when I need to show the related records of the main client record.

                   

                  Here is my script

                   

                   

                  Go To Related record in Funeral Document of current client If [ Get ( FoundCount )>1 ]

                  Show Custom Dialog [ Title: "More than on Client Selected"; Message: "You have selected more than one client. "; Default Button: “OK”, Commit: “Yes” ]

                  Go to Layout [ “Choices WS ” (Funeral) ] Enter Browse Mode
                  Halt Script

                  Else If [ (Count(Documents Funeral::UniqueID)) ]
                  Go to Related Record [ From table: “Documents Funeral”; Using layout: “Layout #7” (Documents Funeral) ]

                  [ Show only related records; New window ]

                  Allow Formatting Bar [ Off ]

                  Show/Hide Toolbars

                  [ Lock; Show ]

                  Else
                  Speak
                  [ Text: "there are no related records" ]

                  [ Wait for completion ]

                  End If

                   

                   

                  • 6. Re: Format Bar Menu
                    Jaymo

                    Looks like I misread your reply. Phil has you covered.

                    • 7. Re: Format Bar Menu
                      JFWX5

                      Thank you, that will also make the solution look more professional.