August 18, 200520 yr You mean a startup script? Look in the file options, you can trigger a script when the file is opened, and when it is closed.
August 18, 200520 yr Author well would that script go in to effect before or after login and can i base part of it off the login name of the user...like a sort for only records with their names on it *edit* ok i figured out that question can i set it up to show a found set of records the whole time that user is logged in..even if they perform another find and then a show all...can i have it still restrict to thier records Edited August 18, 200520 yr by Guest
August 18, 200520 yr The only way to restrict users to a specific found set is to remove access to the status area, and disable access to menu items like show all records. You would have to script all navigation and searching with buttons. Another option is to only allow users to view a list of records from a portal (filtered to show only their records.) Then put a button on the portal that pops up a detail window with only that record, and no navigation.
August 18, 200520 yr Author i was just brainstorming with my boss and we came up with this...have no start up script other than taking the right users to there indivdual layouts...but for the group of users that have to have the constrained info...set them up a layout with buttons of hte tasks they could do..and when they click that button to go to the task layout it sorts on their info..and then all scripts after that have get(username) and continue the sort
August 18, 200520 yr That's sort of what I do... My startup script brings users to a record in the user table linked to their account name. That layout has a portal to other records related to their account in another table. They can further filter that portal with a global field, and they can navigate to a detail view of the record.
August 19, 200520 yr Author yea i have to figure a way that after a user does a sort but then wants to do another...that it does a find on their name first so they dont' get back othere users records from them
August 23, 200520 yr OK create a script for the find all button that is immediately followed by a find on said users name it will only show there records everytime. Show All Records Enter find mode //<---------( no pause Here) set field [usernamefield;"Soandso"] //soandso can also be a field that remebers who is logged on I have "Thisuserbyname" which knows who is logged on at each terminal. Perform Find That should do what you are asking!
Create an account or sign in to comment