Forum Discussion
manny213
Nov 01, 2021Copper Contributor
MS Access SQL - No Current Record Error
Hi I am getting this error when I run a query below query: SELECT *, (SELECT STDEV(LOG_PRICE_CHANGE) FROM QRY_LOG_PRICE_CHANGES AS T1 WHERE T1.UNDERLYING_SYMBOL = QRY_LOG_PRICE_CHANGES.UNDER...
- isladogsNov 02, 2021MVP
Does the subquery work as a standalone query?
You can find various timeout settings in Access options.. Client Settings....Advanced
- manny213Nov 02, 2021Copper ContributorThanks for the reply.
Yes the base query QRY_LOG_PRICE_CHANGES runs fine on its own.
I took a look at the Client Settings...Advanced options. There are 5 settings. Which one would you suggest I look at?- isladogsNov 02, 2021MVP
That wasn't my question. This is the subquery:
SELECT STDEV(LOG_PRICE_CHANGE) FROM QRY_LOG_PRICE_CHANGES AS T1 WHERE T1.UNDERLYING_SYMBOL = QRY_LOG_PRICE_CHANGES.UNDERLYING_SYMBOL AND QRY_LOG_PRICE_CHANGES.ROW_NUMBER-T1.ROW_NUMBER BETWEEN 0 AND 20
Does that run as a standalone query?
These are my settings:
How do yours differ from those?