
Signature
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
This is now one of two forms that does not open. Both are using the
DoCMd.OpenForm to open them, no special arguments are being used and other
forms are using similar commands to open forms from the switch board.
Yet the very same database works on the Test Bed. This makes me think it is
a permissions issue or something to do with the set up of access on the live
machine.
> But this is the only form that dont open?
>
[quoted text clipped - 31 lines]
> >> >
> >> > Help
Alex Dybenko - 29 Apr 2008 15:54 GMT
try to put an error handler in this proc, and check if you get any error. if
no - then, hmm, perhaps recreate form again. no more ideas so far

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
> This is now one of two forms that does not open. Both are using the
> DoCMd.OpenForm to open them, no special arguments are being used and other
[quoted text clipped - 49 lines]
>> >> >
>> >> > Help
Robert Morley - 29 Apr 2008 18:33 GMT
I think Alex has covered everything, but one possibility that came to mind
to double-check: there isn't something that's silently cancelling the Open
Form, is there (i.e., setting the Cancel value in Form_Open)? Maybe
something that doesn't happen on the test bed due to the specific records
you're opening or something to that effect?
Just a thought.
Rob
> This is now one of two forms that does not open. Both are using the
> DoCMd.OpenForm to open them, no special arguments are being used and other
[quoted text clipped - 3 lines]
> a permissions issue or something to do with the set up of access on the live
> machine.
Michael Hudston - 30 Apr 2008 11:52 GMT
Well, I have now got it to work, although I still do not know what the
origional problem was.
I deleted the button and used the button wizard re-create the code, which
then I copied and pasted on to my own button event procedure.
The only difference I an tell between the DoCmd.Openform commands is that
the izard used Null values between quotes "" in the command line, where as I
have not.
> This is now one of two forms that does not open. Both are using the
> DoCMd.OpenForm to open them, no special arguments are being used and other
[quoted text clipped - 39 lines]
> > >> >
> > >> > Help