Web Development
3 replies
by bob sellman
Based on your description, when a new row is created in the lookup table (used for the combo box), a value is also automatically put in the autonumber column, which is what should happen. The table would have in that case at least two columns, one being the autonumber column (to which you cannot add any values). So this does not appear to be a problem based on your description.
However, if the lookup table only has one column and you want that column to be the primary key, you have two options:
1. Each time a new row is added the autonumber column automatically sets the value.
2. Set the primary key column as a number instead of autonumber. This will limit new records to unique values, but allow you to enter whatever new numbervalue is appropriate, rather than the next number as determined by the autonumber function.
If this doesn't answer your question, provide some additional information, including the table layout and samples of existing data and data to add. This may make your problem easier to understand (and solve).
by rdeen
by rdeen
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending