Carry over last sequenced number

  • Thread starter Musa via AccessMonster.com
  • Start date
M

Musa via AccessMonster.com

Hello,

I have
Table1 PK Survey_ID
Table2 PK Survey_ID


I would like to take the last entry of a sequence number and carry it over to
a new record in another table based on the primary key. For Example:

Table1 Survey ID Seq_1 Table 2 Survey ID Seq_1
1 1 1
3 (new Record)
1 2 2
1 " "
1 3 3
2 " "
2 1
3 1
3 2
 
M

Musa via AccessMonster.com

The data should look like this

Table1 SurveyID Seq1 Table 2 SurveyID Seq1 (on newrecord)
1 1 1 3
1 2 - -
1 3 - -
2 1 2 1
3 1 3 2
3 2 - -
 

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