A database I am creating is essentially a list of checks to be performed on an instrument. I would like the primary key to be a field that uniquely numbers each of these checks. The checks themselves are split into sections, e.g. sections 1,2,3,4 etc, and in each section there are some checks, a,b,c,d etc. Therefore any check is identified by, for example, 3a. (In the same way as a question on an exam paper for example).
The problem I am having is this: If at a later date I want to insert a new check (record) in an earlier section, I would want to name it, for example, 2b. If checks 2a, 2b, and 2c are already in existence, then by naming my new check 2b, I would want to insert it between checks 2a and (the old) 2b. I would then want every subsequent check in that section to be automatically incremented, therefore section 2 would now contain 2a,2b,2c, and 2d, (where 2c and 2d are the old checks 2b and 2c). Other subsequent sections (3  onwards) would not have to be incremented, as their names would not be affected.
Any help as to how I would do this would be invaluable.
Thanks,
Quicky
The problem I am having is this: If at a later date I want to insert a new check (record) in an earlier section, I would want to name it, for example, 2b. If checks 2a, 2b, and 2c are already in existence, then by naming my new check 2b, I would want to insert it between checks 2a and (the old) 2b. I would then want every subsequent check in that section to be automatically incremented, therefore section 2 would now contain 2a,2b,2c, and 2d, (where 2c and 2d are the old checks 2b and 2c). Other subsequent sections (3  onwards) would not have to be incremented, as their names would not be affected.
Any help as to how I would do this would be invaluable.
Thanks,
Quicky