H
Hoopster
Hey guy's. I've gotten myself lost here. I have VBA Code that I know I have a
syntax error in but can't for the life of me get it right. My code is for a
DLookup and goes like this:
varRate = DLookup("[Rate]", "[OperationRate]", "[StyleID] = '" & _
Me.[StyleID] & "' And [OperationID] = '" & Me.[OperationID] & "' And_
[DepartmentID] = '" & Me.[DepartmentID] & "'")
All Controls Rate, StyleID, OperationID and DepartmentID are Number Format.
Can somebody out there take a look?
Thanks much in advance
Steve
syntax error in but can't for the life of me get it right. My code is for a
DLookup and goes like this:
varRate = DLookup("[Rate]", "[OperationRate]", "[StyleID] = '" & _
Me.[StyleID] & "' And [OperationID] = '" & Me.[OperationID] & "' And_
[DepartmentID] = '" & Me.[DepartmentID] & "'")
All Controls Rate, StyleID, OperationID and DepartmentID are Number Format.
Can somebody out there take a look?
Thanks much in advance
Steve