If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Add a space between two values
I have a query and I have to add a space between two values, see my exp below:
Station Name & Item: [DBA_DEVICES]![deviceName] & [DBA_ITEMS]![itemId] This currently displays it as SS-HVICU04521 and I need it to display as SS-HVICU 04521 with a space in the middle. Thanks for everyones help in advance. |
#2
|
|||
|
|||
Add a space between two values
Anthony
[Field1] & " " & [Field2] Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Anthony" wrote in message ... I have a query and I have to add a space between two values, see my exp below: Station Name & Item: [DBA_DEVICES]![deviceName] & [DBA_ITEMS]![itemId] This currently displays it as SS-HVICU04521 and I need it to display as SS-HVICU 04521 with a space in the middle. Thanks for everyones help in advance. |
#3
|
|||
|
|||
Add a space between two values
Try:
[DBA_DEVICES]![deviceName] & " " & [DBA_ITEMS]![itemId] -- Duane Hookom Microsoft Access MVP "Anthony" wrote: I have a query and I have to add a space between two values, see my exp below: Station Name & Item: [DBA_DEVICES]![deviceName] & [DBA_ITEMS]![itemId] This currently displays it as SS-HVICU04521 and I need it to display as SS-HVICU 04521 with a space in the middle. Thanks for everyones help in advance. |
#4
|
|||
|
|||
Add a space between two values
Thanks everyone, this works. I appreciate it.
Anthony "Jeff Boyce" wrote: Anthony [Field1] & " " & [Field2] Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Anthony" wrote in message ... I have a query and I have to add a space between two values, see my exp below: Station Name & Item: [DBA_DEVICES]![deviceName] & [DBA_ITEMS]![itemId] This currently displays it as SS-HVICU04521 and I need it to display as SS-HVICU 04521 with a space in the middle. Thanks for everyones help in advance. . |
Thread Tools | |
Display Modes | |
|
|