johnherrerajuan
Registered User.
- Local time
- Today, 15:24
- Joined
- Feb 25, 2013
- Messages
- 44
Hello I have a combo box named L1 and after it is selected I want it to retrieve the hourly rate associated. After that i want it to multiply with the number of hours. I came up with this code but it will not accept the "=" in trades. I took it out and it only gives me the value of the first record instead the one assosiated with it. Can someone tell me what is wrong with this
Code:
Private Sub L1_AfterUpdate()
L11 = DLookup("HourlyRate", "Labor", "Trades=" & hourlyrate)
End Sub