I'm trying to put a textbox in a report header that displays a name instead of ID. The user enters an id in a parameter from the report's underlying query, and I was hoping to base my dLookup criteria on it, but I keep getting error in that field.
Is it something with my quotes?
=DLookup("[Name]","Provider","[ProviderID] = " & [Enter ProviderID:])
(I want to display the Name field from the Provider table, instead of the ProviderID)
Is it something with my quotes?
=DLookup("[Name]","Provider","[ProviderID] = " & [Enter ProviderID:])
(I want to display the Name field from the Provider table, instead of the ProviderID)