yup, I would then get your list from the cell, and Left join it on your category table to get the list of categories for each business. and for the second one, I would just bring back all the categorylists, and do a find function for each one, and throw the results in an array.
Rob - sorry but code samples are beyond me at 1 am On Sat, Nov 15, 2008 at 12:46 AM, Erika L. Walker <[EMAIL PROTECTED]>wrote: > I got ya. Unfortunately I can't do that. Stuck with two tables. > > So I need to do sub-queries? > > > On Sat, Nov 15, 2008 at 12:39 AM, Rob Parkhill <[EMAIL PROTECTED] > >wrote: > > > You could loop the list and add a new table that was for BusinessCategory > > with the following structure: > > businessCategoryID / businessID / categoryID > > > > then just find the businesses that have a categoryID > > > > Rob > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:280463 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
