I had the Form Wizard create a continuous form with the Sproc as the
RecordSource (as a shell for me to modify).
I renamed the Details textbox to txtDetails.
Except I didn't. I grabbed DETAIL from the pulldown and renamed it to
TxtDetail.
Arrgggggggggghhhhh!
Although the form showed the Detail section, it was now called
TxtDetail. So code like
Me.InsideHeight = Me.Detail.Height * 10
failed
and the object browser showed no Detail member for the form.
Well it's solved now. Perhaps this has happened to you. Perhaps it's a
useful thing to squirrel away for some time when you think you might be
going crazier, as I did.
(Access 2003 ADP)
Can one do this in earlier versions of Access? Surely the name of Form
Sections is/should be ReadOnly?
--
Lyle Fairfield
These section-names are definitely not readonly,
I did not even expect them to be...
Sometimes I rename report-sections for clarity (when I have lots of grouping)
Arno R
"Lyle Fairfield" <lylefa...@aim.com> schreef in bericht news:YMNxf.4222$LF....@read2.cgocable.net...
Not only that, the names are localized. The Detail section in the
Norwegian version is called "Detalj" ;-)
I like using the constants, which disambiguates such calls.
Me.InsideHeight = Me.Section(acDetail).Height * 10
--
Roy-Vidar
Maybe (I hope) I can delete the other account soon...
Arno R