Hi all I have noted in the past that fn calls fail when you have an existing method turn it into fn call and r5un unless you restart. If you create a new method and mark as fn no restart is needed.
Regards Chuck ------------------------------------------------------------------------------------------------ Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmiller<AT SIGN>informed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com ------------------------------------------------------------------------------------------------ This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. > On Nov 1, 2017, at 1:15 PM, Timothy Penner via 4D_Tech <[email protected]> > wrote: > > I think you have multiple issues with this SQL Statement. > > I don’t think you can select a COUNT(*) along with other fields in the same > SQL Statement; > Count returns a number, not an array. > While the fields return an array. > > In addition to that, what is 'HAVING Count(*) > 1' supposed to do? > > And then as already mentioned you were missing the : before the variable. > > See also: http://livedoc.4d.com/4Dv15/help/Command/en/page18316.html > > -Tim > > > > ********************************************************************** > 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:[email protected] > ********************************************************************** ********************************************************************** 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:[email protected] **********************************************************************

