I am struggling with the proper syntax to use in SQL statement that includes derived field. Consider:
dim strValue as double
dim strSQL as string
dimstrSQL = "Select abc, def, ghi, (Price * strValue) AS Extended From CustInvoice
in this example we are querying the table CustInvoice and trying to get a new value "Extended" that would correspond to "Price" times a variable representing a discount.
thanks.
dim strValue as double
dim strSQL as string
dimstrSQL = "Select abc, def, ghi, (Price * strValue) AS Extended From CustInvoice
in this example we are querying the table CustInvoice and trying to get a new value "Extended" that would correspond to "Price" times a variable representing a discount.
thanks.