May 7, 200520 yr Hello, suppose you have a value list of say payments. you specify all the ways you can pay for something. The value list contains "master charge, visa, american express, check and cash", the field on the layout is formatted as a check box Set. The user checks off one or more check boxes. How do you know which ones have been checked. for example, maybe you have a button with a script and you want to say "YOu checked this and that and that".. is there a function to do this in FM7? Also, suppose you want to set one of those check boxes via script, how do you do that? thanks for any help in advance, sincerely, J__
May 7, 200520 yr Hello J, I think it will become apparent to you what goes on with checkboxes and radio buttons if you do a simple experiment. Add the same field to your layout; one formatted as a checkbox and one formatted as a regular text field. Size both fields so they are capable of showing more than 1 line. Now just click-off a handful of selections. You should see that it just simply adds your choice as a value in a list separated by carriage returns. Does this help or did I not understand your question.
May 20, 200520 yr What if you are using a key as values in said checkbox. Now the "values" are a series of numbers separated by carriage returns. Is there a way to create a relationship with the menu table so that I can view the list of actual names instead of the keys? When I try it, it only gives me the first value. Thanks.
May 20, 200520 yr See the attached file for using a checkbox field as a multikey. Make sure the vaules in your multikey are always unique. CheckboxTest.zip
Create an account or sign in to comment