L
LAS
I have a form with two bound fields. I create a new row and assign the
bound fields values, but they don't show up on the form. What do I need to
do to make them show up? Here's the code.
If (IsNull(cboStudent_ID) Or cboStudent_ID = "") Then
MsgBox ("Please choose a student.")
Exit Sub
End If
If IsNull(txtStartDate) Or txtStartDate = "" Then
MsgBox ("Please choose a date.")
Exit Sub
End If
Me.Requery
Set irst_StudentTracking = Me.Recordset
With irst_StudentTracking
If (.EOF = True) And (.BOF = True) Then
.AddNew
!Student_ID = cboStudent_ID
!Incident_Date = txtStartDate
End If
End With
bound fields values, but they don't show up on the form. What do I need to
do to make them show up? Here's the code.
If (IsNull(cboStudent_ID) Or cboStudent_ID = "") Then
MsgBox ("Please choose a student.")
Exit Sub
End If
If IsNull(txtStartDate) Or txtStartDate = "" Then
MsgBox ("Please choose a date.")
Exit Sub
End If
Me.Requery
Set irst_StudentTracking = Me.Recordset
With irst_StudentTracking
If (.EOF = True) And (.BOF = True) Then
.AddNew
!Student_ID = cboStudent_ID
!Incident_Date = txtStartDate
End If
End With