Jim DeMarco
Jdemarco at hshhp.org
Tue Sep 30 08:30:56 CDT 2003
That's correct but what's to stop you from creating the entire SQL for the query in a function and setting the query's SQL to the return of that function (which could include the IN statement)? Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 30, 2003 9:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] IN clause function Hi John There was a thread on this some long time ago. The conclusion was no. It would be a great feature though ... /gustav > Is it possible to return a comma delimited string using a function into the > where of a saved query when the Where is an IN. Boy does that read > convoluted! > IOW, > IN ( GetInStr() ) > where the GetInStr() function returns a comma delimited list of items to use > in the IN clause. > I have never succeeded in getting something like this working, and as a > result have had to build a query on-the-fly. > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ***********************************************************************************