The highlight set for a listbox is set in the listbox properties. If this is empty, then there is no highlight set. If the listbox set name you are trying to use does not match the listbox set name property then you are not going to get the anwer(s) you expect.
If you want I have an old demo/source code for list boxes which I'll share, send me an email Chip > Replying to myself here(!) but I should also have mentioned a third > thing to check: > > * have you used the correct name in the $ListBoxName variable? > * what does $tableNum contain? It should be a valid table number > * check the contents of $highlightSet - it should be a non-empty string > > Regards, > > Narinder Chandi, > ToolBox Systems Ltd. > -- > > -----Original Message----- > From: 4D_Tech <[email protected]> on behalf of 4D Tech > Mailing List <[email protected]> > Reply-To: 4D Tech Mailing List <[email protected]> > Date: Saturday, 6 July 2019 at 12:24 > To: 4D Tech Mailing List <[email protected]> > Cc: Narinder Chandi <[email protected]> > Subject: Re: The set does not exist > > Carl, > > Hi. Couple of obvious things to check: > * have you used the correct name in the $ListBoxName variable? > * what does $tableNum contain? It should be a valid table number > > Regards, > > Narinder Chandi, > ToolBox Systems Ltd. > -- > > -----Original Message----- > From: 4D_Tech <[email protected]> on behalf of 4D Tech > Mailing List <[email protected]> > Reply-To: 4D Tech Mailing List <[email protected]> > Date: Saturday, 6 July 2019 at 11:59 > To: 4D Tech Mailing List <[email protected]> > Cc: Carl Aage Wangel <[email protected]> > Subject: The set does not exist > > Using the following method, I get the error "The set does not > exist". > > $ListBoxName:="ListBoxObjectName" > > LISTBOX GET TABLE > SOURCE(*;$ListBoxName;$tableNum;$namedSelection;$highlightSet) > > USE SET($highlightSet) > > I select records (rows) from the listbox before running the method. > > I obviously have a lack of knowledge. Can anyone guide me in > the right > direction? Can't find anything in 4D Knowledge Base. > > Regards > > Carl > > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > > ********************************************************************** > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ------------ Hell is other people Jean-Paul Sartre ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

