A
Aivars
Hello,
I have a stored query like this called VAL_REZERVE:
SELECT "Currency revaluation reserve" AS ITEMNAME, ValRezerve() AS
AMOUNTINT_LVL;
ValRezerve() is VBA UDF. This query works fine when I run it in by
clicking in Navigation pane - it gives the Currency revaluation
reserve and amount calculated by the UDF
But when I try to use it like: select * from VAL_REZERVE Access gives
an error saying that query input must contain at least one table or
query.
I am using ACCESS 2007.
Is it supposed to be that a query returning one record cannot be
called as I am trying to do?
Thanks
Aivars
I have a stored query like this called VAL_REZERVE:
SELECT "Currency revaluation reserve" AS ITEMNAME, ValRezerve() AS
AMOUNTINT_LVL;
ValRezerve() is VBA UDF. This query works fine when I run it in by
clicking in Navigation pane - it gives the Currency revaluation
reserve and amount calculated by the UDF
But when I try to use it like: select * from VAL_REZERVE Access gives
an error saying that query input must contain at least one table or
query.
I am using ACCESS 2007.
Is it supposed to be that a query returning one record cannot be
called as I am trying to do?
Thanks
Aivars