Public Sub GetProfile(ApplicantId As Integer)
Dim larrGetProfile As Variant
larrGetProfile = mApplicantDB.GetProfile(ApplicantId)
mvarApplicantID = larrGetProfile(0, 0)
mvarApplicantFName = larrGetProfile(1, 0)
mvarApplicantLName = larrGetProfile(2, 0)
mvarPhone = larrGetProfile(3, 0)
mvarStAddress = larrGetProfile(4, 0)
mvarCity = larrGetProfile(5, 0)
mvarStateProvince = larrGetProfile(6, 0)
mvarZipPostal = larrGetProfile(7, 0)
If IsNull(larrGetProfile(8, 0)) = True Then
mvarEmail = ""
Else
mvarEmail = larrGetProfile(8, 0)
End If
If IsNull(larrGetProfile(9, 0)) = True Then
mvarNotes = ""
Else
mvarNotes = larrGetProfile(9, 0)
End If
If larrGetProfile(10, 0) = "True" Then
mvarAvailabilityStatus = 1
Else
mvarAvailabilityStatus = 0
End If
mApplicantDB.GetProfile (ApplicantId)
End Sub |
|