Simple Append Query Help

RRMESLTD

New Member
Joined
Jul 21, 2004
Messages
24
Can anyone help please, I am really stuck on this & am not sure where I’m going wrong.


I have to create an Access database that auto generates an order number, which is straight forward enough using autonumber etc. The problem I have is I need to start of at a certain order number ie: 101151. Can anyone help with the append query, I cannot get it to copy over the prior order number 101150, for which the autonumber will continue from.


Any suggestion of where I’m going wrong.
I have 2 tables , Orders & Orderstemp (contains only the ordernumber 1011500)


Orders Table Orders Temp
* *
OrderID OrderID
CustomerID
OrderDate


What do I do next ?



Any help would be greatly appreciated!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Create a query in design view and add the Orders Temp table. Place the field OrderID in your first column. Change the query type to Append (from the Menu under Query or from the drop down 'Query Type' button on the toolbar) and in the Append To Table Name field, enter Orders Table. Then run the query and it should append 1 record.

TD
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,250
Members
451,757
Latest member
iours

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top