Chip, We did this same things with sets by using an On Err Call(“Error_SetDoesNotExist”).
Write an On Err Call for Named Selections, and then use it, and test the result of your call error handler. Hth! David Ringsmuth From: Chip Scheide via 4D_Tech Sent: Friday, February 8, 2019 11:52 AM To: 4D iNug Technical Cc: Chip Scheide Subject: Named Selections Is there a way to determine if a named selection exists? something like this: if (Not(Named Selection Exists("Selection_Name"))) Copy Named Selection([table];"Selection_Name") end if Thanks Chip --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************