G
Guest
I have set up an Access query (which works) which I want to include in my
form code.
The query SQl is
SELECT Sum(EquipmentDetail.UnitPrice) AS PackPrice
FROM Packages INNER JOIN EquipmentDetail ON Packages.ItemIdRef =
EquipmentDetail.ItemID
WHERE (((Packages.PackageId)="pack02"));
On my form, I want to select the packageId from a combo box then run this
sql from the AfterUpdate property of the combo to give me the PackPrice to
display on the form with the Package Id.
Anyone help on how to code this?
form code.
The query SQl is
SELECT Sum(EquipmentDetail.UnitPrice) AS PackPrice
FROM Packages INNER JOIN EquipmentDetail ON Packages.ItemIdRef =
EquipmentDetail.ItemID
WHERE (((Packages.PackageId)="pack02"));
On my form, I want to select the packageId from a combo box then run this
sql from the AfterUpdate property of the combo to give me the PackPrice to
display on the form with the Package Id.
Anyone help on how to code this?