Jump to content

auto generated IDs


ameliabob

Recommended Posts

Is there a way without doing an additional search to find the number of an inserted row immediately after it has been added?

 

I need to reference a row with rows immediately after it when inserting data into the data base.

 

e.g

 

insert Header Row

insert detail row with a link back to Header Row

insert detail row with a link back to Header Row

insert detail row with a link back to Header Row

 

So the table would be

ID Link Contents

1 0 Header

2 1 Detail1

3 1 Detail2

4 1 Detail2

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...