Inserting a new line

H

hin

I have the following table:

Item
--------
ID - Autonumber
Name - Text
Amount - Currency


If a user enter info into this table, how can I insert a new record
between other existing records.

Example:

ID Name Amount
1 Milk $3
2 Cookies $4
<---------- Insert new record here
3 Meat $10
4 Eggs $3

How can I insert a record between 2 & 3 and get my table reorder so
now my record looks like this:

ID Name Amount
1 Milk $3
2 Cookies $4
3 my new record here
4 Meat $10
5 Eggs $3


Is this possible??


Thanks!
 
D

Dan Artuso

Hi,
Data in tables is always unordered so what you want is not possible. It should not matter at all what the order is because
you can use an Order By clause in a query to sort it any way you like.

HTH
Dan Artuso
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top