Hi All.
The Record Source of continuous form is query where the Location field has concatenation like:
Of course, if the set of fields to merge is empty, only the hyphen (-) character will be displayed in the "Location" field. Is it possible to use VBA on the "Location" field to set it to blank if it has a value of the hyphen character? If yes. How to do it?
Thanks
The Record Source of continuous form is query where the Location field has concatenation like:
SQL:
Location: IIf([qLocations].[Facility]="ABC",[qLocations].[Facility] & " " & [qLocations].[Building] & " " & [qLocations].[Wing] & [qLocations].[Floor] & "-" & [qLocations].[Room],[qLocations].[Facility] & " " & [qLocations].[Building] & [qLocations].[Floor] & "-" & [qLocations].[Room])
Thanks