B
Barry
Access 2003...
Creating a data entry form using a datagrid subform.
Data entry operators continually enter data for consecutive ranges and I
want to set default values to fields from the previous record. Every now and
again they will change the default values as well.
For example:
From To Value
0 1 X
1 2 Y
2 3 Z etc...
So, when creating the next record I want the default for 'From' to be the
previous value from the 'To' field.
If I can get that default set then I can also increment the 'To' value (e.g.
previous record + 1) so that the operator only needs to enter the 'Value'
field during data entry.
Every keystroke saved is a possible error avoided!
I've had a bit of a play around using the OnCurrent event and moving in the
recordset but it has not been robust enough for my liking.
Creating a data entry form using a datagrid subform.
Data entry operators continually enter data for consecutive ranges and I
want to set default values to fields from the previous record. Every now and
again they will change the default values as well.
For example:
From To Value
0 1 X
1 2 Y
2 3 Z etc...
So, when creating the next record I want the default for 'From' to be the
previous value from the 'To' field.
If I can get that default set then I can also increment the 'To' value (e.g.
previous record + 1) so that the operator only needs to enter the 'Value'
field during data entry.
Every keystroke saved is a possible error avoided!
I've had a bit of a play around using the OnCurrent event and moving in the
recordset but it has not been robust enough for my liking.