I thought that I already had a Set_Exists("Set_Name") : Boolean function...but I didn't. Thanks for the conversation, this code works in V13 (what I have open right now):
C_BOOLEAN($0;$exists) C_TEXT($1;$set_name) $set_name:=$1 Error:=0 ErrorHandler_Install ("ErrorHandler_SuppressError") C_BOOLEAN($is_in_set) $is_in_set:=Is in set($set_name) ErrorHandler_InstallPrevious $exists:=Error=0 // You could test for error 39 to be a bit more specific. $0:=$exists ...this assumes that you install a valid error handler, otherwise you'll get some other error... ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************