| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can anybody see any errors in here? The connection string etc haven't been included, because they're correct...
****** sql = "SELECT tblProducts.Product_ID, tblProducts.Product_Name, tblProducts.Product_Price, tblProducts.Product_Desc, tblProducts.Cat_ID, tblProducts.Product_Quantity, tblProducts.Product_Image, tblProducts.Man_ID, tblProducts.Valid, tblManufacturer.Man_Name, tblCategories.Cat_Name FROM tblProducts, tblManufacturer, tblCategories WHERE tblProducts.Man_ID = tblManufacturer.Man_ID AND tblProducts.Cat_ID = tblCategories.Cat_ID" 'Response.Write sql <- for debugging purposes 'Response.End <- as above Set RS = Server.CreateObject("ADODB.RecordSet") RS.Open sql,conn %> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> <title>Administration Panel</title> </head> <body> <table width="500" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td class="tblTitle">Product ID</td> <td class="tblTitle">Name</td> <td class="tblTitle">Price</td> <td class="tblTitle">Quantity</td> <td class="tblTitle">Description</td> <td class="tblTitle">Valid</td> <td class="tblTitle">Category</td> <td class="tblTitle">Manufacturer</td> <td colspan="2" class="tblTitle">Options</td> </tr> <% WHILE NOT RS.EOF %> <tr> <td><%=RS("Product_ID")%></td> <td><%=RS("Product_Name")%></td> <td><%=RS("Product_Price")%></td> <td>$<%=RS("Product_Quantity")%></td> <td><%=RS("Product_Desc")%></td> <td><%=RS("Valid")%></td> <td><%=RS("Cat_Name")%></td> <td><%=RS("Man_Name")%></td> <td><a href="edit.asp"><img src="images/pencil.gif" alt=":EDIT:" border="0"></a></td> <td><a href="delete.asp"><img src="images/cross.gif" alt=" ISCONTINUE:" border="0"></a></td></tr> <% RS.moveNext WEND %> </table> </body> </html> ****** The error I'm experiencing is that according to SQL Server, everything that I want is being output, but Man_Name & Product_Description aren't being displayed! |
|
#2
|
||||
|
||||
|
Can you wtire Error message???
|
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Errors?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|