Smiley 3636
New member
- Local time
- Today, 18:54
- Joined
- Oct 15, 2023
- Messages
- 19
Hi
I would appreciate is some help the following of adding spaces in front of a string based upon another value.
I have a table with the following
MListName_________________HeadList
Revenue & Sales________________0
Livestock Sales & Costs_________1
Primary Production Income_____1
What I am trying to achieve is the following
MListName____________________HeadList
Revenue & Sales___________________0
__Livestock Sales & Costs___________1
__Primary Production Income_______1
(without the underline)
Using a update query (which I don’t seem to get work)
UPDATE 1dbtCOAMenu SET [1dbtCOAMenu].MListName = Right([MListName] & Space(2),2);
I would appreciate is some help the following of adding spaces in front of a string based upon another value.
I have a table with the following
MListName_________________HeadList
Revenue & Sales________________0
Livestock Sales & Costs_________1
Primary Production Income_____1
What I am trying to achieve is the following
MListName____________________HeadList
Revenue & Sales___________________0
__Livestock Sales & Costs___________1
__Primary Production Income_______1
(without the underline)
Using a update query (which I don’t seem to get work)
UPDATE 1dbtCOAMenu SET [1dbtCOAMenu].MListName = Right([MListName] & Space(2),2);