Situation:
->Query 1: Asks for user, which drives Form 1.
->Form 1: The records that USER "owns". It could be many. Form 1 is basically there to give a list of the records that they are working on. Sort of an open items list.
->Form 2: The main data entry form for the rest of the work.
ID: That's the field that I'm keying off of.
What I want to do is click on a record in Form 1, which then opens form 2 at the same record. Form 1 has a button by each record that will pick up the correct "ID". The code looks like this:
Dim IDNum As Integer
IDNum = Me.ID
MsgBox "You just selected number" & IDNum
DoCmd.OpenForm "fMain"
I need to have some flavor of DoCmd.FindRecord that gets to the record that has the same ID.
I'm not seeing it, though no doubt a real programmer will remember fondly a homework assignment as a Freshman CS student that is related.
Thanks in advance for the help.
Chris
->Query 1: Asks for user, which drives Form 1.
->Form 1: The records that USER "owns". It could be many. Form 1 is basically there to give a list of the records that they are working on. Sort of an open items list.
->Form 2: The main data entry form for the rest of the work.
ID: That's the field that I'm keying off of.
What I want to do is click on a record in Form 1, which then opens form 2 at the same record. Form 1 has a button by each record that will pick up the correct "ID". The code looks like this:
Dim IDNum As Integer
IDNum = Me.ID
MsgBox "You just selected number" & IDNum
DoCmd.OpenForm "fMain"
I need to have some flavor of DoCmd.FindRecord that gets to the record that has the same ID.
I'm not seeing it, though no doubt a real programmer will remember fondly a homework assignment as a Freshman CS student that is related.
Thanks in advance for the help.
Chris