MariaAux Posted November 27, 2011 Posted November 27, 2011 I have a checkbox set with 30 'topics' for children's games. Some games can include any topic, so I want to check all the boxes. I created a script with 'Insert Text', and listed all the topics as per the value list. which does the trick nicely to select all the topics with one button. However, as the database grows, I think of new topics, and I don't want to keep updating the value list, then this script etc etc... Can I use the data in a value list as the text to insert in an 'Insert Text' script. I have tried without luck. Thanks so much.
comment Posted November 27, 2011 Posted November 27, 2011 Can I use the data in a value list as the text to insert in an 'Insert Text' script. Have a look at the ValueListItems() function. Note also that in most cases it's better to use Set Field{} instead of Insert Text[]. One reason for this is to allow using a calculated value - as you must in this case.
bcooney Posted November 27, 2011 Posted November 27, 2011 Maria, Please consider using join tables. These checkbox sets will make reporting difficult for you. You should have a table of Topics and a join table btw the Games (Products) and the Topics.
Recommended Posts
This topic is 5018 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