Kirk: IIRC, activate an error handler prior to calling the command that uses the set.
-- Douglas von Roeder 949-336-2902 On Tue, Oct 18, 2016 at 8:16 AM, Randy Engle <4d.l...@xc2.us> wrote: > Kirk, > > It's not 100% what you are looking for, but I'm pretty sure you can do a > "Records in Set" > > $0:=Records in Set("MySet") > > If the set does not exist, it will return 0. > > Of course this is also true if the set exists with zero records in it. > ;-) > > Randy Engle > XC2 Software LLC > > -----Original Message----- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Kirk > Brooks > Sent: Tuesday, October 18, 2016 7:35 AM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Subject: How to determine if a SET exists? > > Hi all, > Is there a way to determine if a set exists? So far the only thing I've > come up with requires keeping track of them as they are created. This is OK > but unverifiable. > > It would be nice to have the equivalent of the 'Is a list' function. > > > > ********************************************************************** > 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 > ********************************************************************** > ********************************************************************** 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 **********************************************************************