Will, Ok, cool, and where is the link between the tables pls? ie .. scenario .. Customers table .. customerid invoices table .. invoiceid / customerid link is on customerid .. so where are the links on your tables?
J -----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 20 November 2005 19:31 To: CF-Talk Subject: Re: Grouping problems Thanks much Jennifer! Here's my schema for these three tables: http://wtomlinson.com/cartcap.jpg Here's my current query showing the fields I'm using: SELECT tblSKUS.SKUID, tblSKUS.merchSKUID, tblSKUS.SKU_prodID, tblSKUS.SKUprice, tblSKUoptions_rel.optionID, tblSKUoptions_rel.optionSKUID, tblSKUoptions_rel.option_optionID, tblSKUoptions.SKUoptionID, tblSKUoptions.SKUoptionname, tblSKUoptions.SKUoptionsort FROM tblSKUS, tblSKUoptions_rel, tblSKUoptions WHERE tblSKUS.SKU_prodID = #ARGUMENTS.PRODID# AND tblSKUS.SKUID = tblSKUoptions_rel.optionSKUID AND tblSKUoptions_rel.option_optionID = tblSKUoptions.SKUoptionID Thanks, Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224761 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54