A
AceWill
I'm trying to use some code in the after update event on a combo box in a
form. I'm trying to select "Reason Denied"(from 1 table) in a combo box and
based on that selection have it automatically populate "Statement for
Letter"(from another table. I'm not very good with code so I am looking for
a solution to why the following code isn't working.
Private Sub Reason_Denied_AfterUpdate()
Me.[Statement for Letter].Value = DLookup("[Statement for Letter]",
"[Reason Denied]", _
"[Statement for Letter] =" & Me.[Reason Denied].Value)
End Sub
Thanks,
Chad
form. I'm trying to select "Reason Denied"(from 1 table) in a combo box and
based on that selection have it automatically populate "Statement for
Letter"(from another table. I'm not very good with code so I am looking for
a solution to why the following code isn't working.
Private Sub Reason_Denied_AfterUpdate()
Me.[Statement for Letter].Value = DLookup("[Statement for Letter]",
"[Reason Denied]", _
"[Statement for Letter] =" & Me.[Reason Denied].Value)
End Sub
Thanks,
Chad