M
Mark
Hi - using asp and ms Access - this works ok:
set Products = Server.CreateObject("ADODB.Recordset")
Products.ActiveConnection = myConString
Products.Source = "SELECT Products.productid, Products.product,
Products.price, Products.partno FROM Products"
Products.CursorType = 0
Products.CursorLocation = 2
Products.LockType = 3
Products.Open()
...but when I try to add a connection to another table I get the dreaded
unspecified error:
(same code)
Products.Source = "SELECT Products.productid, Products.product,
Products.price, Products.partno, Sizes.ProductSize AS Size FROM Products
INNER JOIN (Sizes ON Products.SizeID = Sizes.SizeID) "
(same code)
Any ideas why this may be happening? I have latest MDAC, XP Pro (IIS
running locally), and no memo fields!
Thanks,
Mark
set Products = Server.CreateObject("ADODB.Recordset")
Products.ActiveConnection = myConString
Products.Source = "SELECT Products.productid, Products.product,
Products.price, Products.partno FROM Products"
Products.CursorType = 0
Products.CursorLocation = 2
Products.LockType = 3
Products.Open()
...but when I try to add a connection to another table I get the dreaded
unspecified error:
(same code)
Products.Source = "SELECT Products.productid, Products.product,
Products.price, Products.partno, Sizes.ProductSize AS Size FROM Products
INNER JOIN (Sizes ON Products.SizeID = Sizes.SizeID) "
(same code)
Any ideas why this may be happening? I have latest MDAC, XP Pro (IIS
running locally), and no memo fields!
Thanks,
Mark