Right Justify A Text Field
Using Access 2000 (9.0.4402) SR-1
I have to prepare a table for export to another system. The table has a left justified 10 character text field that requires the value to be right justified 1 position from the right.
I need some code/procedure that will determine the length of the input field and pad the output field with the correct number of spaces.
Input Output
1_________ ________1_
12________ _______12_
123_______ ______123_
I would like to do this in an append query, if possible, any thoughts?
Thanks, John Graves