C
ClaireB
Hi, help on this would be much appreciated....
I have a database very similar to the northwind example i.e. supplier
product, customer, order etc....
I have set up a form with a sub form for customer orders exactly a
shown in the example database however my sub form not workin
properly.
sql below
SELECT DISTINCTROW [Order Details].OrderID, [Order Details].ProductID
[Product Table].ProductName, [Order Details].UnitPrice, [Orde
Details].Quantity, [Order Details]!UnitPrice*[Order Details]!Quantit
AS Total
FROM [Product Table] INNER JOIN [Order Details] ON [Produc
Table].ProductID = [Order Details].ProductID
ORDER BY [Order Details].OrderID[/QUOTE];
query runs fine apart from the UnitPrice does not automatically fil
when the product ID is input........
Where am i going wrong the tables have a one to many relationship an
the UnitPrice fields are exactly the same.....
any ideas pleassssseeee...........
clair
I have a database very similar to the northwind example i.e. supplier
product, customer, order etc....
I have set up a form with a sub form for customer orders exactly a
shown in the example database however my sub form not workin
properly.
sql below
SELECT DISTINCTROW [Order Details].OrderID, [Order Details].ProductID
[Product Table].ProductName, [Order Details].UnitPrice, [Orde
Details].Quantity, [Order Details]!UnitPrice*[Order Details]!Quantit
AS Total
FROM [Product Table] INNER JOIN [Order Details] ON [Produc
Table].ProductID = [Order Details].ProductID
ORDER BY [Order Details].OrderID[/QUOTE];
query runs fine apart from the UnitPrice does not automatically fil
when the product ID is input........
Where am i going wrong the tables have a one to many relationship an
the UnitPrice fields are exactly the same.....
any ideas pleassssseeee...........
clair