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?
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.
I usually hide the toolbar completely on open. I also lock it. That still leaves the menu which you can hide using custom menus.
But I still need the Book or slider and the current record number / total record number.
Did you use the Show/Hide Toolbars step in an Open script?
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 ]
[ Lock; Show ]
Else Speak [ Text: "there are no related records" ]
[ Wait for completion ]
Looks like I misread your reply. Phil has you covered.
Thank you, that will also make the solution look more professional.
Retrieving data ...