Newbies reagank Posted June 6, 2000 Newbies Posted June 6, 2000 Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope
Louisa Posted June 23, 2000 Posted June 23, 2000 HI, I realize it's been a while since your post so you may have already found a solution to this, but I've been playing around with this one. The best you can do is write the script so that it does: Go to Field[] Open ValueLists[] << the script then pauses automatically and waits for the user to chose a value-list Other script steps... There is no way to automatically chose one list over another without the users input, unfortunately! Louisa
Newbies reagank Posted June 23, 2000 Author Newbies Posted June 23, 2000 Thank you! I have not been able to find another solution, so I will try that ASAP. Thanks again! Reagan
Kurt Knippel Posted June 24, 2000 Posted June 24, 2000 quote: Originally posted by reagank: Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope You could design a value list (i.e. dynamicValueList) which is the contents of some temp field (i.e. tempValueList) in your database. In your layouts you set the fields to be using the dynamicValueList. Then you set a script which uses the "Paste Result" step to set the tempValueList field with the results of the "ValueListItems" function, specifying the particular value list that you actually want to use. In this scenario you have to remember to clear that field before performing this procedure again. An easier way to do this is to setup the tempValueList field in a file (such as a Menu or Login file) which only has 1 record. The rest of the procedure is the same, but now you only have 1 record to worry about clearing out. I have done this before with much success. Although awkward to setup it actually works pretty well. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.inthescene.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
Mr Nic Posted June 27, 2000 Posted June 27, 2000 Alternative is ensure your value list is held in a field and then you can source it directly, No? Still going to be pausing for user selection though unless yo are alredy defining their selection then combine PASTE RESULT and calc. are the answer. Good luck. Unless that is your trying to define a feild from your script. quote: Originally posted by reagank: Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope
Recommended Posts
This topic is 9006 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