outdoorsportz Posted February 19, 2001 Posted February 19, 2001 We have a record, in the record is a field that has info separated by colons, Ex: blue:green:black we want to make a pull down menu with this information. We can't figure out on how to make filemaker recognize the ( in the field, so that the pull down menu sees each bit of information as separate info. We know how to enter the info to make a pull down menu, but not how to make it recognize what is in the field. Thanks
john.daly Posted February 19, 2001 Posted February 19, 2001 There might be an easier way but this script will do it: You need to define global fields: gString [Text]; gCharacter [Text}; and gCount[Number]; and a text field New Value List. Go to record/request/Page[First] Loop Set Field [gCount,1] Set Field [gString,Value List] Set Field [New Value List,""] Loop Set Field [gCharacter,Middle(gString,gCount,1) If [gCharacter,"<carriage return symbol>"] End If Set Field[New Value List,New value List & gCharacter] Exit Loop if [gCount = Length(gString)] End Loop Set Field [Value List, New Value List] Go to record/Request/Page [Next,Exit after Last] End Loop Best of luck!
Recommended Posts
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