Removing spaces

P

puce576

Hello,

Could you tell me which expression i should use in a query
to remove spaces from datas ?

Thanks a lot

Perrine
 
J

JL

There is a replace function, but I am only be able to use
it as a function call. I create a update query and call
the function in a Modules.
Like this.
==========================================================
Query:
UPDATE Table1 SET Table1.TEST_FLD = RemoveChar([Table1].
[TEST_FLD]);

Modules:
Function RemoveChar(Arg1 As String) As Variant
RemoveChar = Replace(Arg1, " ", "")
End Function
 

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