Q
Question Boy
I have the following SQL from a query
SELECT Sum(Inv_Item_Qty*Inv_Item_UnitPrice) AS SubTotal
FROM tbl_Invoice_Items
WHERE Inv_Items_Id=1;
How can I, using vba, execute the SQl and return the value of the SubTotal
field value to a textbox (Text1) on my form.
QB
SELECT Sum(Inv_Item_Qty*Inv_Item_UnitPrice) AS SubTotal
FROM tbl_Invoice_Items
WHERE Inv_Items_Id=1;
How can I, using vba, execute the SQl and return the value of the SubTotal
field value to a textbox (Text1) on my form.
QB