开发者

MS-Access run time error 2046

I am running MS-Access 2000 (not my choice - the company uses it).

I notice that if I have the startup settings set to open a form when the database is opened I get run time error 2046: The command or action 'Requery' isn't available at this time.

I开发者_JAVA技巧 cannot debug it though because when I click debug the database closes and the only time the error occurs is when I'm closing the database.

Does anyone know what triggers this and what I can do to rid of the error?


If you hold the shift key down as you open the database, it will bypass the startup settings and open directly to the database window. You can then look at the form to see what is causing the problem. There is either a macro or a VBA event procedure behind the form that is trying to Requery the form at the wrong time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜