builttorock
New member
- Local time
- Today, 06:05
- Joined
- Jan 20, 2025
- Messages
- 4
Help please!
I have a list box that is populated by a SQL query in VBA. I want to pad the column/field name with 2 leading spaces.
Right now I am using this in my SQL statement:
T_Invoice.Ship_Date AS [SHIP DATE]
to display SHIP DATE as the column heading in the list box which works fine. However, I want two leading spaces before the word SHIP.
I tried using T_Invoice.Ship_Date AS [ SHIP DATE] with a leading space before the word SHIP but it does not work.
Seems MS Access SQL does not like the leading space. Any idea how to make this work?
Thanks,
I have a list box that is populated by a SQL query in VBA. I want to pad the column/field name with 2 leading spaces.
Right now I am using this in my SQL statement:
T_Invoice.Ship_Date AS [SHIP DATE]
to display SHIP DATE as the column heading in the list box which works fine. However, I want two leading spaces before the word SHIP.
I tried using T_Invoice.Ship_Date AS [ SHIP DATE] with a leading space before the word SHIP but it does not work.
Seems MS Access SQL does not like the leading space. Any idea how to make this work?
Thanks,