dwcrockford
New Member
- Joined
- Sep 1, 2015
- Messages
- 27
OK.... there's a process to this one and various objects.
tblHours - has days of the week (numeric) default value set to "0"
tbhHours subform - used in another form, based from the above table
frmTimesheet - main user form which has the above subform on it as well as additional calculated form objects.
On the main user form (frmTimesheet), some days will not have any hours entered, so they are left at "0" by default (at least this is what is displayed.
Within the form, there are calculations based on the tblHours subform. All the calculations work just fine - IF there are numbers entered or you manually enter "0". If a entry is skipped on the subform, the subsequent calculations leave those calculation object empty (no "0" - just a blank box).
This affects further calculations as well leaving more blank form objects.
I know somewhere, a "null" statement needs to be entered (isnull=0 or similar code that is correct), but where along the way should this statement be entered - somewhere on the source table (Hours), subform or main user form (and what is the correct code to use?)
D
tblHours - has days of the week (numeric) default value set to "0"
tbhHours subform - used in another form, based from the above table
frmTimesheet - main user form which has the above subform on it as well as additional calculated form objects.
On the main user form (frmTimesheet), some days will not have any hours entered, so they are left at "0" by default (at least this is what is displayed.
Within the form, there are calculations based on the tblHours subform. All the calculations work just fine - IF there are numbers entered or you manually enter "0". If a entry is skipped on the subform, the subsequent calculations leave those calculation object empty (no "0" - just a blank box).
This affects further calculations as well leaving more blank form objects.
I know somewhere, a "null" statement needs to be entered (isnull=0 or similar code that is correct), but where along the way should this statement be entered - somewhere on the source table (Hours), subform or main user form (and what is the correct code to use?)
D