Hi -
I have 2 new questions in a new database I'm trying to develop.
The first has 6 fields on a table and allows the user to enter them on
a form. The form is bound to the table.
All 6 fields are default value = 0 on the table and on the form.
Fields are filled in at different times and maybe by different people,
so I wanted them all to "initialize" to 0.
3 of the fields occasionally put Null in the field on the table, so
the report that adds them up shows a blank. I know I can nz the
fields on the report, but I am thinking that since I have default 0 on
the table and the form that might not be necessary and maybe I'm
masking another problem? This is annoying both myself and the user.
The second question is for the same form. An initial form opens where
the user selects an employee, Department and Fiscal Year. I want to
open the second form (the one where the user can enter the 6 fields)
when the user presses the "Go" button. My question is: I want to open
the form to edit a record if it exists, and add a new record if there
isn't one.
Do you do this in code - Dcount and if it's 0, open the form in Add
mode, otherwise open it in Edit mode? Or is there an easier way
(usingA2K).
thanks to all -
sara