Re: Calculating fields within a SubForm for each record
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Wed, 22 Feb 2006 10:32:27 -0600
Somehow, I had gotten the impression you were talking about
a continuous form where setting any property in VBA will
affect all the displayed records.
In single form view you can also use the form's Current
event to adjust each record at the time a user navigates
from one record to another.
--
Marsh
MVP [MS Access]
JNLSeb wrote:
Thanks for the input, but I should have been more clear but was not sure how.
to describe what I am doing.
This may be better.
I am actually calculating the size of an embedded picture based on the value
of a specific field.
This picture is not stored within any table and is displayed at a given size
only when the data is viewed within the form.
JNLSeb wrote:"Marshall Barton" wrote
When a SubForm is loading currently a calculation is being done for each
record but the values are based only on the first. So, if the subform has
20
records, the value of this "special" field is being populated for all 20
fields but the value is done based only on the first and not each
individual
record.
Where should the code be place to have it calculated for each record on
the subform?
Either in the report text box's control source expression or
as a calculated field in the (sub)form's record source
query.
- Follow-Ups:
- References:
- Calculating fields within a SubForm for each record
- From: JNLSeb
- Re: Calculating fields within a SubForm for each record
- From: Marshall Barton
- Re: Calculating fields within a SubForm for each record
- From: JNLSeb
- Calculating fields within a SubForm for each record
- Prev by Date: Re: Testing IsNothing
- Next by Date: Re: Launching PowerPoint from within Access
- Previous by thread: Re: Calculating fields within a SubForm for each record
- Next by thread: Re: Calculating fields within a SubForm for each record
- Index(es):
Relevant Pages
|