I ran into a weird problem with a subreport with an OnFormat event
of the subreport detail. When I view the field list in report design
view, all the aliased fields in the recordsource are available. But
when the report runs, the aliased fields are inaccessible. Of
course, this is causing a problem with the report running, and I
can't figure it out.
I've decompiled, I've compacted, I've recreated the recordsource.
I've tried moving the field aliasing out of the recordsource and
into source queries. None of these things have made a difference.
The same subreport is running correctly in a different A97 MDB that
has the same basic structure. I assume that one of two things are
happening:
1. either the slight changes I made for the new MDB are causing the
problem somehow, OR
2. one or more of the source queries is not the same as in the
working version (even though I've imported all the source queries
from the working version).
Any ideas? I was intending to roll this out for the client before
noon today, but it's broken now, so I can't. :(
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/