Hello all:
I have i three-level form destined to control cos acounts. In a simplifications the tables in use are Firm, Accounts and Account-Entries. The tables have relations ships as: One Firm has many Accounts, which may have many entries, all based on foreign key (sorry if this is TMI, but I just want to clarify the situation).
The forms structure is, basically:
|_________________________________________
| Form Firms |
| _______________________________|
| | Subform Accounts |
| | |
| | _________________________|
| | | |
| | | “Sub”Subform Entries |
| | | (Continuous) |
| | | Field Individual_Entries |
| | | |
|__________|_____|_________________________
Individual_Entries on SubSubform Entries are totaled to Total_Entries (unbound, =Sum(individual_entries)). After me.recalc I transfer the values to the upper level forms through collection syntax (Forms!Form_Firm… = Total_Entries).
Finally my problem (thx for the patience): When I run the form normally, meaning, I open the form and input entries, the , me.recalc function seems to make the form “spin” for a while cycling and the upper level fields are not updated. However, if I place break points and manually (step-by-step) debug the routine, it works without problems, no “spinning” and the upper level fields are correctly updated.
Ideas? Suggestions?
Any assistance is welcome and appreciated.
L.R. Humberto
If you don't know where you are going to, doesn't matter how fast you are going, you'll never get there.
I have i three-level form destined to control cos acounts. In a simplifications the tables in use are Firm, Accounts and Account-Entries. The tables have relations ships as: One Firm has many Accounts, which may have many entries, all based on foreign key (sorry if this is TMI, but I just want to clarify the situation).
The forms structure is, basically:
|_________________________________________
| Form Firms |
| _______________________________|
| | Subform Accounts |
| | |
| | _________________________|
| | | |
| | | “Sub”Subform Entries |
| | | (Continuous) |
| | | Field Individual_Entries |
| | | |
|__________|_____|_________________________
Individual_Entries on SubSubform Entries are totaled to Total_Entries (unbound, =Sum(individual_entries)). After me.recalc I transfer the values to the upper level forms through collection syntax (Forms!Form_Firm… = Total_Entries).
Finally my problem (thx for the patience): When I run the form normally, meaning, I open the form and input entries, the , me.recalc function seems to make the form “spin” for a while cycling and the upper level fields are not updated. However, if I place break points and manually (step-by-step) debug the routine, it works without problems, no “spinning” and the upper level fields are correctly updated.
Ideas? Suggestions?
Any assistance is welcome and appreciated.
L.R. Humberto
If you don't know where you are going to, doesn't matter how fast you are going, you'll never get there.