A
Al Camp
Given a Main form and continuous Subform... I have a calculated field
(TotalLength) in the footer of the Subform that correctly adds up a total
for all the Subform records. That works fine.
However, on the OnCurrent for the Subform, I want to examine that
TotalLength value and make a decision via code... as I move from record to
record on the MAIN form via my navigation buttons.
As I "browse" the Main records, the subform OnCurrent event occurs, but
there is no value returned from the footer calculation. I know OnCurrent
fires, because I put a Beep in the code.
***At this point, I'm not adding any subform records at all, just navigating
between my Main form records.
When the Subform OnCurrent fires, why can't it return the calculated value?
Thanks for any help... I've been battling this problem for a while...
Al Camp
(TotalLength) in the footer of the Subform that correctly adds up a total
for all the Subform records. That works fine.
However, on the OnCurrent for the Subform, I want to examine that
TotalLength value and make a decision via code... as I move from record to
record on the MAIN form via my navigation buttons.
As I "browse" the Main records, the subform OnCurrent event occurs, but
there is no value returned from the footer calculation. I know OnCurrent
fires, because I put a Beep in the code.
***At this point, I'm not adding any subform records at all, just navigating
between my Main form records.
When the Subform OnCurrent fires, why can't it return the calculated value?
Thanks for any help... I've been battling this problem for a while...
Al Camp