LaBelette
It means "The Weasel"
- Local time
- Today, 06:37
- Joined
- Mar 12, 2004
- Messages
- 68
Is there a way to remove the unused indexes without using Compact and repair ?
My problem is that I create a new record on a form. The form is in 'data entry' mode, and the user has the choice to press 'Add' to save the record and close the form or 'Cancel' to close the form without saving.
But when he press 'Cancel', my primary key (an autonumber) get incremented. When I compact and repair, it goes back to the max value + 1, which is perfect. I want the same effect, but just for that field.
My problem is that I create a new record on a form. The form is in 'data entry' mode, and the user has the choice to press 'Add' to save the record and close the form or 'Cancel' to close the form without saving.
But when he press 'Cancel', my primary key (an autonumber) get incremented. When I compact and repair, it goes back to the max value + 1, which is perfect. I want the same effect, but just for that field.