cocowomble
Registered User.
- Local time
- Yesterday, 20:06
- Joined
- May 25, 2014
- Messages
- 25
Hi All,
not sure if this is even possible, by any help would be appreciated.
I have a form which opens 2 recordsets.
the first
RS1 adds a new record
the second - RS2 needs to add the ID of the new RS1 record,
hope that makes sense eg.
rs1.AddNew
rs1!AgeGroup = Me.cmbAgeGroup
rs1!CompetitionType = Me.cmbCompetitionType
rs1.Update
rs2.AddNew
rs2!PlayerID = Me.CmbPlayer1
rs2!matchID = ***** RS1 ID of record just added*******
thanks in advance
not sure if this is even possible, by any help would be appreciated.
I have a form which opens 2 recordsets.
the first
RS1 adds a new record
the second - RS2 needs to add the ID of the new RS1 record,
hope that makes sense eg.
rs1.AddNew
rs1!AgeGroup = Me.cmbAgeGroup
rs1!CompetitionType = Me.cmbCompetitionType
rs1.Update
rs2.AddNew
rs2!PlayerID = Me.CmbPlayer1
rs2!matchID = ***** RS1 ID of record just added*******
thanks in advance