James-
Run a query like this:
ALTER TABLE MyTable ALTER COLUMN ID Counter(1, 1);
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
On Dec 30, 2015, at 12:56 PM, James Asante asanteza@gmail.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi
I have a table that is deleted and appended from time to time. The primary key has the following properties:
Field Name = ID
Data Type = AutoNumber
Field Size = Long Integer
New Values = Increment
Indexed = Yes (No Duplicates)
Text Align = General
Is there a way to get the ID to start at 1 when the table is cleared (deleted) and appended every time?
Thanks
James
__._,_.___
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar