K Keiath Registered User. Local time Today, 18:10 Joined Jan 6, 2012 Messages 104 Jan 13, 2012 #1 I have a database that has order numbers, I want to start the auto number at 7013 instead of 1 from the table, but there doesnt seem a simple way to do this any ideas? thanks
I have a database that has order numbers, I want to start the auto number at 7013 instead of 1 from the table, but there doesnt seem a simple way to do this any ideas? thanks
pbaldy Wino Moderator Staff member Local time Today, 10:10 Joined Aug 30, 2003 Messages 36,157 Jan 13, 2012 #2 Try executing this query: INSERT INTO TableName (AutonumberFieldName) VALUES (7012)
K Keiath Registered User. Local time Today, 18:10 Joined Jan 6, 2012 Messages 104 Jan 13, 2012 #3 Done by having a auto number and a order number and via a calculation, messy but it works
gemma-the-husky Super Moderator Staff member Local time Today, 18:10 Joined Sep 12, 2006 Messages 16,072 Jan 13, 2012 #4 you don't want to use autonumbers, though, if you need an intact sequence. either get the number from a separate table, or get the number with dmax.
you don't want to use autonumbers, though, if you need an intact sequence. either get the number from a separate table, or get the number with dmax.