K
kinlye
I'm trying to auto fill the district and Building Name based on the cc#
entered.
Here's the code:
Me.District = DLookup("[District]", "CostCenters", "[CCNum]=" &
Me.CostCenterNum)
Me.Building = DLookup("[BldgName]", "CostCenters", "[CCNum]=" &
Me.CostCenterNum)
It gives me a 3464 error.
I've tried a few things, but at this point, I'm running in circles.
Any help would be appreciated.
Let me know if I haven't given enough information.
J
entered.
Here's the code:
Me.District = DLookup("[District]", "CostCenters", "[CCNum]=" &
Me.CostCenterNum)
Me.Building = DLookup("[BldgName]", "CostCenters", "[CCNum]=" &
Me.CostCenterNum)
It gives me a 3464 error.
I've tried a few things, but at this point, I'm running in circles.
Any help would be appreciated.
Let me know if I haven't given enough information.
J