Error on Click of command button (1 Viewer)

syedadnan

Access Lover
Local time
Today, 12:09
Joined
Mar 27, 2013
Messages
315
i have sometimes getting error on on click event of a command button to open a form, and sometimes it works ok i have written the code like this;

me.refresh
docmd.openform... so on

whats wrong here as this works fine sometime and sometime error saying the "on click event of the ..... produce error .. so on"

whats wrong here
 

Minty

AWF VIP
Local time
Today, 09:09
Joined
Jul 26, 2013
Messages
10,371
Without seeing the actual error, and the actual code behind the form button we will all be guessing.

I would stab in the dark with my eyes closed and all the lights off, that it's to do with underlying data or the lack of it on the form you are on or similar on the form you are trying to open.
 

syedadnan

Access Lover
Local time
Today, 12:09
Joined
Mar 27, 2013
Messages
315
Without seeing the actual error, and the actual code behind the form button we will all be guessing.

I would stab in the dark with my eyes closed and all the lights off, that it's to do with underlying data or the lack of it on the form you are on or similar on the form you are trying to open.

ok i will post you once it again happen
 

Users who are viewing this thread

Top Bottom