How to trim entries in a column or table

G

Gerry Wolff

I understand that, if I want to trim leading and trailing blanks in a
string, I should use the 'trim' function.

But it is not at all clear to me how I should use this function to
trim all the entries in a column or in a table.

Please could someone explain what I need to do.

Many thanks.
 
E

elbyc

Use a query on the table. So if you have the field [Trimthis] in the
table [mytable] you would add the table [mytable] to a new query in
design mode. Then in the first line of the field, type NewName:trim
([Trimthis])
 
G

Gerry Wolff

Use a query on the table. So if you have the field [Trimthis] in the
table [mytable] you would add the table [mytable] to a new query in
design mode. Then in the first line of the field, type NewName:trim
([Trimthis])

OK, many thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top