James Gill Posted June 9, 2010 Posted June 9, 2010 (edited) I am using the method described at FMLayoutMode.com to allow my users to select multiple portal rows. In a nutshell, they use a button in the portal to set a global field that contains the id of the highlighted portals; Case ( FilterValues ( names:_kg_keyHolder ; names::__kp_ID ) ; Substitute ( ¶ & names::_kg_keyHolder & ¶ ; ¶ & names::__kp_ID & ¶ ; ¶ ) ; names::_kg_keyHolder & ¶ & names::__kp_ID ) One issue with this method is that when a user unmarks all of their selections, it leaves the carriage returns in the field global. Because I am using a script to populate the global field to a child record's field, I want to be able to remove the contents of the child field if the user has unselected everything. Does it matter if the field contains carriage returns and no data? If it does, how would I go about modifying my script to wipe the field contents if there is no valid data or, in the alternative, how would I modify their script to remove the carriage returns when a record is remove from the highlighted row? Edited June 9, 2010 by Guest
bcooney Posted June 11, 2010 Posted June 11, 2010 James, Here is a script I use to toggle a mark. It cleans up carriage returns on remove. hth, Barbara MarkingToggle.pdf
Søren Dyhr Posted June 11, 2010 Posted June 11, 2010 I do usually get smooth sailing by using this CF: http://www.briandunning.com/cf/39 --sd
Recommended Posts
This topic is 5337 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