O
Opal
I am trying to make a form almost complete itself
because it seems that many of my multiple users
can't change a combo box when needed.... :-(
A user enters details into a form regarding an
issue that they have investigated. When they
enter the details, the issue could be solved, and
therefore the "StatusID" combo box should be
changed to "Closed" or, they may still be working
on the issue and therefore the status should
be "Open". The default value is "Open" or 1.
When they enter a Closed Date, the value in
the StatusID should now be "Closed" or 2.
However, when they enter the closed date, they neglect
to change the status and that skews my data.
I thought if I used the following in the default
value of the StatusID combo box, it might work:
=IIf(IsNull([ClosedDate]),1,2)
But, it doesn't. My research tells me that the Default
Value is assigned at the point where a new record is started,
so Access doesn't know that the ClosedDate field will no
longer be null. How can I accomplish this in VBA when
the value in the ClosedDate text box changes from Null to
notNull?
because it seems that many of my multiple users
can't change a combo box when needed.... :-(
A user enters details into a form regarding an
issue that they have investigated. When they
enter the details, the issue could be solved, and
therefore the "StatusID" combo box should be
changed to "Closed" or, they may still be working
on the issue and therefore the status should
be "Open". The default value is "Open" or 1.
When they enter a Closed Date, the value in
the StatusID should now be "Closed" or 2.
However, when they enter the closed date, they neglect
to change the status and that skews my data.
I thought if I used the following in the default
value of the StatusID combo box, it might work:
=IIf(IsNull([ClosedDate]),1,2)
But, it doesn't. My research tells me that the Default
Value is assigned at the point where a new record is started,
so Access doesn't know that the ClosedDate field will no
longer be null. How can I accomplish this in VBA when
the value in the ClosedDate text box changes from Null to
notNull?