R
Russ
I have an application which allows two of four shifts each
to enter data based on which shift they belong to, day or
night.
'
There are two drop down boxes allowing the imput of the
shift value represented at the time. cbo1 = DayShift and
cbo2 = NightShift
The first shift begins at 7:00 AM with the second shift
beginning at 7:00PM. Each shift consists of 12 hours. The
application has a main form that swaps out sub-forms for
each aspect of the shift's assignments.
Currently I have the sub-forms opening in the "OnLoad"
event to acLastRec when they are called/swapped. What I'd
like to do is have the sub-form look to see if either or
both of the shift (cbo1 or cbo2) controls have a value or
not, if cbo1 has a value and cbo2 does not, open to
acLastRec. If both cbo1 and cbo2 already have a value do
not open to acLastRec, open to acNewRec, which would be a
new day/date since both shifts have already completed data
entry for the previous day/date and it's now a new day and
shift.
Is this possible? How???
Thanks,...
to enter data based on which shift they belong to, day or
night.
'
There are two drop down boxes allowing the imput of the
shift value represented at the time. cbo1 = DayShift and
cbo2 = NightShift
The first shift begins at 7:00 AM with the second shift
beginning at 7:00PM. Each shift consists of 12 hours. The
application has a main form that swaps out sub-forms for
each aspect of the shift's assignments.
Currently I have the sub-forms opening in the "OnLoad"
event to acLastRec when they are called/swapped. What I'd
like to do is have the sub-form look to see if either or
both of the shift (cbo1 or cbo2) controls have a value or
not, if cbo1 has a value and cbo2 does not, open to
acLastRec. If both cbo1 and cbo2 already have a value do
not open to acLastRec, open to acNewRec, which would be a
new day/date since both shifts have already completed data
entry for the previous day/date and it's now a new day and
shift.
Is this possible? How???
Thanks,...