Lavenderchan
Technical User
Hi I have a question about the following vba code.
I put a break point in the code the id is returning the value i need but the reserve for replacement id and excess income id is returning null.
What should i do to correct this? an open args?
Any advise would be help ful.
when i try to open the form it asks for a paratmeter value for the id.
here is my code.
Private Sub Assigned_To_AfterUpdate()
If Me.cboTask = ("Reserve for Replacement") Then
DoCmd.OpenForm "Reserve for Replacement Details", , , "ID='" & Me.Reserve_for_Replacement_ID & "'"
End If
If Me.cboTask = ("Excess Income Report") Then
DoCmd.OpenForm "Excess Income Details", , , "ID='" & Me.Excess_Income_ID & "'"
End If
End Sub
Thanks,
Keri
I put a break point in the code the id is returning the value i need but the reserve for replacement id and excess income id is returning null.
What should i do to correct this? an open args?
Any advise would be help ful.
when i try to open the form it asks for a paratmeter value for the id.
here is my code.
Private Sub Assigned_To_AfterUpdate()
If Me.cboTask = ("Reserve for Replacement") Then
DoCmd.OpenForm "Reserve for Replacement Details", , , "ID='" & Me.Reserve_for_Replacement_ID & "'"
End If
If Me.cboTask = ("Excess Income Report") Then
DoCmd.OpenForm "Excess Income Details", , , "ID='" & Me.Excess_Income_ID & "'"
End If
End Sub
Thanks,
Keri