G
Guest
I've inherited an front end Access database ....
The user selects a Start date, End date and account number (exp: 1/1/2004 -
6/30/2004) from a form --- which then uses a pass through query which then
executes a stored procedure in SQL.
How can I convert the following calculation into VBA using the selected
dates/accts# in a stand alone Access DB?
SELECT ((power(@geometricreturn,(4/cast(@cnt as float)))) -1) * 100 AS
'AnnualizedReturn'
GO
The user selects a Start date, End date and account number (exp: 1/1/2004 -
6/30/2004) from a form --- which then uses a pass through query which then
executes a stored procedure in SQL.
How can I convert the following calculation into VBA using the selected
dates/accts# in a stand alone Access DB?
SELECT ((power(@geometricreturn,(4/cast(@cnt as float)))) -1) * 100 AS
'AnnualizedReturn'
GO