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 <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List <4d_tech@lists.4d.com> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> Date: Saturday, 6 July 2019 at 12:24 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com> 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 <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List <4d_tech@lists.4d.com> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> Date: Saturday, 6 July 2019 at 11:59 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Carl Aage Wangel <wan...@online.no> 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: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 ********************************************************************** ********************************************************************** 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 **********************************************************************