George TOUBALIS Posted April 30, 2004 Share Posted April 30, 2004 Lets say we have a field (check boxes) who takes values from a value list Lets say that the result in the field is 2 values a Dog and a Cat (2 check boxes) Is there a way to check not the one but two check boxes "Dog and a Cat" with a Script? Link to comment Share on other sites More sharing options...
-Queue- Posted April 30, 2004 Share Posted April 30, 2004 Yep, Set Field [field, "Cat Link to comment Share on other sites More sharing options...
-Queue- Posted April 30, 2004 Share Posted April 30, 2004 You end up with an extra return if the item is at the beginning or end of the field. But it's too late for me to rectify that right now. I can't think anymore. I'm going to bed. Link to comment Share on other sites More sharing options...
George TOUBALIS Posted April 30, 2004 Author Share Posted April 30, 2004 thanxs a lot... Link to comment Share on other sites More sharing options...
mamawong50 Posted May 12, 2004 Share Posted May 12, 2004 I have the following in my script (simplified): Set Field ["Field", ""Dog Link to comment Share on other sites More sharing options...
-Queue- Posted May 12, 2004 Share Posted May 12, 2004 Format a copy of the field as a standard field. After running your script, how does the data appear in the field? Link to comment Share on other sites More sharing options...
mamawong50 Posted May 13, 2004 Share Posted May 13, 2004 Formatting the field as standard, shows both dog and cat in the field. When I change the field format to "check boxes" only Cat is selected. BTW, I am using FMP6 Link to comment Share on other sites More sharing options...
dbruggmann Posted May 13, 2004 Share Posted May 13, 2004 Maybe you have a space in your parameter, like "Dog Link to comment Share on other sites More sharing options...
mamawong50 Posted May 13, 2004 Share Posted May 13, 2004 Thank you! All is well, I did have one space too many in my parameter. This forum is GREAT! Link to comment Share on other sites More sharing options...
Newbies Gill Ent - the best a man can get Posted May 14, 2004 Newbies Share Posted May 14, 2004 I have a CSV file of English towns. How would i write a script in Filemaker Pro 6 to sequentially check if each town is in a particular field of my database, and, if it is, to check a radio button "England" for that record? Any advice greatly appreciated. Link to comment Share on other sites More sharing options...
dbruggmann Posted May 18, 2004 Share Posted May 18, 2004 The details depend heavily on your FM version (7 or prior), but my general approach would be: 1) Import the CSV file in a new FM table/file 2) set up a relationship between the field Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7137 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