![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a field with a Value List checkbox (Yes) that allows me to create a custom found set. I perform a find for those fields with the value "Yes". How can I create a button that will reset or clear the "Yes" from this field. I looked at Find/Replace but do not understand how to script this. |
#3
| |||
| |||
|
|
To act upon the found set, use the Replace Field Content step on a button. *Or to clear the value from all records where it is set to 'yes' (regardless of whether the record is in the current found set) you'll need the button to call a script that finds all records where the value is 'yes' and then do Replace Field Content (or loop through records with a Set Field step). On 11/18/2010 9:21 AM, Buckbuck wrote: I have a field with a Value List checkbox (Yes) that allows me to create a custom found set. I perform a find for those fields with the value "Yes". How can I create a button that will reset or clear the "Yes" from this field. I looked at Find/Replace but do not understand how to script this. |
#4
| |||
| |||
|
|
FM 10 I have a field with a Value List checkbox (Yes) that allows me to create a custom found set. I perform a find for those fields with the value "Yes". How can I create a button that will reset or clear the "Yes" from this field. I looked at Find/Replace but do not understand how to script this. |
)
#5
| |||
| |||
|
|
On Nov 18, 9:27 am, Howard Schlossberg how... (AT) nospam (DOT) fmprosolutions.com> wrote: To act upon the found set, use the Replace Field Content step on a button. Or to clear the value from all records where it is set to 'yes' (regardless of whether the record is in the current found set) you'll need the button to call a script that finds all records where the value is 'yes' and then do Replace Field Content (or loop through records with a Set Field step). On 11/18/2010 9:21 AM, Buckbuck wrote: I have a field with a Value List checkbox (Yes) that allows me to create a custom found set. I perform a find for those fields with the value "Yes". How can I create a button that will reset or clear the "Yes" from this field. I looked at Find/Replace but do not understand how to script this. When I try this, or some form of your suggestion, the script returns a notice "The Find/Replace option "Current field" requires a selected field. I do not understand this. |
![]() |
| Thread Tools | |
| Display Modes | |
| |