VB is the first program I am trying to learn. I am trying to make a database application with Access and VB. On a form I am trying to add information on a form in relation to a project. I am able to "capture" the "iprojectid" value and open the form I want, but can't figure out how to enter the "iprojectid" value into the form. Here's what I have so far...

Private Sub cmdAddLabor_Click()

Dim stDocName As String
Dim stLinkCriteria As String
Dim li_clientID
iprojectid = Me!cboListOfProjects.Column(0)

stDocName = "frmClientProjectHistory"
DoCmd.Close acForm, "frmListOfProjects2"
DoCmd.Close acForm, "frmClientSelect"
stLinkCriteria = "[PROJECT_ID]=" & iprojectid
DoCmd.OpenForm stDocName, , , stLinkCriteria

Any suggestions on where I should go from here?

Thanks in advance for any help.