Steve Pugh Posted June 27, 2006 Posted June 27, 2006 Hi all, I have user accounts on my database and now I am trying to implement a "Show Only My Records" script. Using Scriptmaker I've set up a Perform Find action which looks like the following: FindRecords Shots::Artist:[Get(Accountname)] However, this says that NO records were found which meet the criteria. If I throw up a Dialog with Get(Accountname) as its parameter, it displays the correct Account Name. If I hardcode the find to my current test account name, I get results. Somehow there's something in the middle that I'm missing. Can anyone help? Many thanks!!
Ender Posted June 27, 2006 Posted June 27, 2006 You can't store a dynamic find criteria in a find request. Instead, do it this way: Enter Find Mode [] Set Field [ Shots::Artist ; Get(AccountName) ] Perform Find []
Steve Pugh Posted June 27, 2006 Author Posted June 27, 2006 Excellent - thank you kindly, that worked like a champ! Or like a charm... It worked like a charmp?
Recommended Posts
This topic is 6726 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 accountSign in
Already have an account? Sign in here.
Sign In Now