I want to use the value of a field in vba (visual basic code). I have created a query in the report, but the fields are not directly used in the report detailsection. When i am writing some code to assign a certain value (based on a field in the query:eg customer)to a valuebox, the error 'can't find value' appears.
Does anyone know what the correct syntax is. Things like [customer] or me![customer] don't work.
Thanks in advance.
Does anyone know what the correct syntax is. Things like [customer] or me![customer] don't work.
Thanks in advance.