I have 2 fields that I want to concatenate (and remove the high order position of 1 of these fields) and display them as 1 composite field with a different field name on a report.
For example: I have a field named OfficeNumber and a field named CustomerNumber.
Office Number has a value of 0100
Customer Number has a value of 333333
I wrote a SQL statement as follows to handle this condition:
Right(tblCustomers.OfficeNumber, 3) + ' ' + tblCustomers.CustomerNumber AS [Account Number]
The result is a new field title called "Account Number" with a value of 100 333333
However, I want to translate this SQL code formatting I noted above to these 2 fields on the QBE in the row titled Field:
Could you tell me how I would express the formatting into the fields Office Number and CustomerNumber on the QBE to generate 1 composite field titled Account Number ?
For example: I have a field named OfficeNumber and a field named CustomerNumber.
Office Number has a value of 0100
Customer Number has a value of 333333
I wrote a SQL statement as follows to handle this condition:
Right(tblCustomers.OfficeNumber, 3) + ' ' + tblCustomers.CustomerNumber AS [Account Number]
The result is a new field title called "Account Number" with a value of 100 333333
However, I want to translate this SQL code formatting I noted above to these 2 fields on the QBE in the row titled Field:
Could you tell me how I would express the formatting into the fields Office Number and CustomerNumber on the QBE to generate 1 composite field titled Account Number ?