View Single Post
  #10 (permalink)  
Old 06-25-2007, 03:06 PM
jtracking jtracking is offline
WebProWorld Veteran
 

Join Date: Aug 2006
Location: Burlington, Ontario, Canada.
Posts: 406
jtracking RepRank 1
Default Re: Possible MySQL Doozie...

Sweet. *sighs*

OK this wasn't so much of a doozie and I have to thank everyone for their assistance.

I got it to work and I did by going backwards instead of forwards, in other words,

instead of starting off by selecting the referer based on contact_id and sales_id stuff,

I first selected the product number from the salesdetail table,

then the sales_id from the same table,

then the contact_id from the sales table based on the contact_id in the salesdetail.sales_id

and then once I had that contact_id i fetched the referer from the users table...

the sql is all mixed in with coldfusion but if you need to see it just let me know and I will post it here...

Thanks everyone...
Reply With Quote