Can anyone please assist:
I have this dlookup code setup..but for some reason i only get the first record....I tried several things but cant seem to get over that hump...
Anyone please assist.
--All fields are setup as short text in the table. However Task_Code is a numeric value
Option Compare Database
Dim currentdb As String
Option Explicit
Private Sub Form_problem_Change()
Combo27 = DLookup("Desc", "[HPEMProblemCodes]", "Problemcode= '" & [TaskCode] & "'")
End Sub
I have this dlookup code setup..but for some reason i only get the first record....I tried several things but cant seem to get over that hump...
Anyone please assist.
--All fields are setup as short text in the table. However Task_Code is a numeric value
Option Compare Database
Dim currentdb As String
Option Explicit
Private Sub Form_problem_Change()
Combo27 = DLookup("Desc", "[HPEMProblemCodes]", "Problemcode= '" & [TaskCode] & "'")
End Sub
Last edited: