This has been driving me crazy and I don't know what to do. I just can't figure out what I have done wrong.
When I log in on an iPad, its beautiful. When I log in to the iPhone, I get a bunch of <no access> records no matter what I do. I doesn't matter which layout I use. Ideas??
Use Show Custom Dialog at the beginning of the script to display Get ( AccountName ) and Get ( AccountPrivilegeSetName ). Are they as you thought? If not, could there be a re-login script step somewhere that is changing the Account?
Could there be a script trigger on your layout that is detecting the device and switching to an unexpected layout?
Show Custom dialog to check the privilege set name is a good idea.
You don't show the whole script. I wonder what happens if the account Privilege set name is not "Supervisor"?
Note that any find performed by the user or a script automatically omits "no access" records from the resulting found set, so it may be that you need to perform a find no matter what the current privilege set.
Retrieving data ...