Has anyone else heard of this? I have never come across any situation where
I would remove an Option Explicit statement, for any reason whatsoever. In
fact, I don't think I ever would even if I thought I had a reason... far too
dangerous.
But, why would the code work during development, but not when transferred to
an accde? The need to remove the Explicit statement indicates problems with
variable naming, but for what reason would it not be caught in an accdb?
Maybe some sort of deeper db corruption?
Anyway, I've never heard of anything even remotely like this. I've always
thought one would be better off chopping their own head off than trying to
code without the Option Explicit.
So this post is a 2-part: 1) Rick - you may very well have a much deeper
problem than you think, and 2) Can anyone else shed some light on what might
cause this?
--
Jack Leach
www.tristatemachine.com
- "First, get your information. Then, you can distort it at your leisure."
- Mark Twain
"rbeach" wrote:
> The problem was with the "Option Explicit" on the report. Once this was
> removed, the accde file created properly.
> --
> Rick
>
>
> "rbeach" wrote:
>
> > I have removed two reports that when these are removed, allows the accde file
> > to be created properly. I do not know why a report would cause such a
> > problem. Especially when these are not even opened. Any ideas would be
> > appreciated.
> > --
> > Rick
> >
> >
> > "rbeach" wrote:
> >
> > > I have two files that when an accde is created from these files, all
> > > programming is unavailable. All of my other files work properly when an accde
> > > is created from them. I do not know of any difference in these two files. I
> > > have recreated the files, queries and forms. I linked to the tables that work
> > > with the other files, but it still has the same problem. Please let me know
> > > where to look.
> > > --
> > > Rick