Jump to content

This topic is 7224 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted (edited)

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 by Guest
Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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!

This topic is 7224 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.