4 Replies Latest reply on Jul 7, 2010 8:31 AM by jeffd

    Layout design question

    jeffd

      Title

      Layout design question

      Post

      On a layout in filemaker pro 10, is it possible to keep a header in view, or from sliding up out of view, if the page is long and have only the body to slide up & down.

        • 1. Re: Layout design question
          philmodjunk

          If you use list view instead of form view, the header will stay put while the body scrolls.

          You may have to pay more attention to what records make up your current found set, however, as the scrolling will also scroll you to other records unless you use one method or another to restrict your found set to the current record.

          • 2. Re: Layout design question
            jeffd

            List view works. However I am difficulty with limiting to one record. When I select a record to view, what method is best for viewing the record I select? Each record is unique by a field called "Message_ID". I need to include this method in  script step.

            Thanks

            • 3. Re: Layout design question
              philmodjunk

              A script attached to a button can do this

              Set Variable [$ID ; value: YourTable::Message_ID]
              Enter Find Mode []
              Set Field [YourTable::Message_ID ; $ID ]
              Perform Find[]

              If you aren't sharing the database over a network, you can also use:

              Show All Records
              Omit Record
              Show Omitted Only

              (As LaRetta taught me, in a multi-user system, there's small chance that the second script will fail to isolate just one record if another user manages to create a new record after Show All Records but before Show Omitted Only executes.)

              • 4. Re: Layout design question
                jeffd

                Yes I do share these files.

                Thanks for the script.