N
Neil
Here's a strange situation.
I have an Access 2000 MDB with a SQL Server 7 back end, and a form with
several Microsoft Rich Textbox controls on it. The form is opened with a
simple Docmd.Openform "formname" command (no parameters).
The form opens fine on my computer and a user's computer. However, another
user was getting error 2501 ("The OpenForm action was canceled") when they
clicked the button to open the form. (There is no code in the form's Open
event to cancel the open in any circumstances.) This happened on another
computer as well.
So, two computers were able to open the form, and two weren't.
Looking at the drivers, etc., I saw that they were all identical:
OS: Windows XP (Version 5.1) Build 2600 (Service Pack 2)
Access version: 9.0.0.6620
Jet version: 4.0.8618.0
SQL driver version: 2000.85.1117.0
The above was for all four computers. Yet the form opened on two computers,
and not on the other two.
I tried placing the form in it's own MDB. But the results were the same.
However, when I decompiled the original file, the problem was resolved.
OK, so there was some glitch in the compiled code. Fine. But why then would
it work on two computers, and not on the other two computers? What could
have been different with those two computers besides the above 4 items to
have made it work on those two computers?
This is a very strange situation.
I have an Access 2000 MDB with a SQL Server 7 back end, and a form with
several Microsoft Rich Textbox controls on it. The form is opened with a
simple Docmd.Openform "formname" command (no parameters).
The form opens fine on my computer and a user's computer. However, another
user was getting error 2501 ("The OpenForm action was canceled") when they
clicked the button to open the form. (There is no code in the form's Open
event to cancel the open in any circumstances.) This happened on another
computer as well.
So, two computers were able to open the form, and two weren't.
Looking at the drivers, etc., I saw that they were all identical:
OS: Windows XP (Version 5.1) Build 2600 (Service Pack 2)
Access version: 9.0.0.6620
Jet version: 4.0.8618.0
SQL driver version: 2000.85.1117.0
The above was for all four computers. Yet the form opened on two computers,
and not on the other two.
I tried placing the form in it's own MDB. But the results were the same.
However, when I decompiled the original file, the problem was resolved.
OK, so there was some glitch in the compiled code. Fine. But why then would
it work on two computers, and not on the other two computers? What could
have been different with those two computers besides the above 4 items to
have made it work on those two computers?
This is a very strange situation.