Prev: OpenForm
Next: Filter pivotchart in report
From: cutepaloma405 via AccessMonster.com on 22 Dec 2009 16:57 I have two forms: frmStudent and frmCourse. I can open frmCourse from frmStudent on the current record by linking the field txtEmployeeID and using the following code on frmCourse. Private Sub Form_Load() If Me.NewRecord Then [EmployeeID].DefaultValue = Forms![Student]![EmployeeID] End If End Sub My problem is that I cannot add more than one record with the field txtEmployeeID already on it. After that I would have to manually type in the txtEmployeeID. What can I do so that I wouldn't have to type the textEmployeeID manually? -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200912/1
|
Pages: 1 Prev: OpenForm Next: Filter pivotchart in report |