From your description, I don't even understand what you _have_, much less
know how to tell you how to change it. You describe the Form, but not the
underlying Table. You speak of one KEY field, but say there may be multiple
KEYs per record. Where are the other KEYs stored in the record (not, I hope,
as multiple values in the same field... that is a nightmare to try to use)?
The implication here is that you want to add Fields to a Record at
runtime -- which does not make sense. In a relational table, every record
has the same _definition_, but may have different values.
Larry Linson
Microsoft Access MVP
"amywolfie" <am*******@verizon.net> wrote in message
news:33**************************@posting.google.c om...
This is an interesting one.....
I have a field on FORM!FORMDATA (no, I did not name this) called KEY.
There can be multiple KEYS per record (equates to FIELDS on a given
DOCUMENT).
The users want to Add a Key and manually assign the number, say 2.
They do this to retain the order in which fields will print on a
document.
If Keys 2 --- 10 already exist, then Old Key 2 becomes 3, Old Key 3
becomes 4, etc.
Adding a new key is triggered by a button click event. Can anyone
supply code to do this?
Thanks!
amy
===