Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. caherner

    Three joins with three tables

    I actually came up with a solution tonight. After everyone's help and suggestions I saw this was impossible to combine all in one query, so I had a brainwave and broke it into 2 queries. I used my original query, and then in an if statement farther down in my page, if the productName isnull then...
  2. caherner

    Three joins with three tables

    Ok, it's almost there but the ProductName does not show for anything in the rentals table since there is no join between rentals.movie = products.productID. Where does the third join fit in?
  3. caherner

    Three joins with three tables

    I apologize for my terminology, I did mean all rows.
  4. caherner

    Three joins with three tables

    The end result is it only shows all fields in the table RentalSets and not the table Rentals. I need it to show all fields in Rentals, instead of RentalSets. Thanks for that attempt. Any other suggestions?
  5. caherner

    Three joins with three tables

    Here are my three tables with the columns in question and sample data: Products ProductID ProductName 00001234 Test1 00001235 Test2 00001236 Test3 Rentals MovieNo User MovieID 1 test@test.com 00001235 2 test@test.com 00001235-2 3...
  6. caherner

    Saving Array in ASP page?

    On an ASP page I am looping through a table in a MYSQL database, which is retrieving a subproduct number based on a product number in the table. What gets outputted on the page in a form is buttons labeled "Rent Disc 1" "Rent Disc 2" "Rent Disc 3". When a button is clicked on, I want the...
  7. caherner

    Three joins with three tables

    The following code gets me 90% of the results I require. Hopefully this is simple for someone, but I cannot figure out how to make a third JOIN, if that is the way to go. Currently I have a JOIN between products and rentals, and a JOIN between rentals and rentalsets, but I also need a JOIN...

Part and Inventory Search

Back
Top