jsmith1611
Registered User.
- Local time
- Today, 03:17
- Joined
- Jan 7, 2009
- Messages
- 23
Hello, I need to have some default values for fields that increment.
I have 3 tables for a database that tracks microfilm tapes: tape, group, and sequence. There are multiple groups per tape and multiple sequences per group.
I have a main form for the tape, group is a subform of tape, and sequence is a subform of group.
I want the group number on the group form to default to "A" and then increment automatically when I create a new record in this subform. I want the sequence number to default to "1" and increment every time I add a new row in the sequence subform.
I think I need to use variables for this, but I am not sure of where to do the incrementing and how to not increment for the first group on a tape or the first sequence in a group.
Can anyone help with this?
Thanks,
Josh
I have 3 tables for a database that tracks microfilm tapes: tape, group, and sequence. There are multiple groups per tape and multiple sequences per group.
I have a main form for the tape, group is a subform of tape, and sequence is a subform of group.
I want the group number on the group form to default to "A" and then increment automatically when I create a new record in this subform. I want the sequence number to default to "1" and increment every time I add a new row in the sequence subform.
I think I need to use variables for this, but I am not sure of where to do the incrementing and how to not increment for the first group on a tape or the first sequence in a group.
Can anyone help with this?
Thanks,
Josh