Using Trim with StrConv Function

rinova

Registered User.
Local time
Yesterday, 23:29
Joined
Aug 27, 2012
Messages
74
Hi Access Experts,

I'm having a problem using Trim with StrConv functions, when I use this code Trim works.

Code:
 FullName: Trim([dbo_sponsor]![spn_chair_person])
but when I add StrConv, Trim stops working. Below is the code that doesn't work.

Code:
 FullName: Trim(StrConv("Dear " & [dbo_sponsor]![spn_chair_person],3) & ":")
Any suggestions / answers?

Going to try to Trim first then then concatenate.

Thanks,

Rich
 
Try

FullName: Trim(StrConv("Dear " & [dbo_sponsor]![spn_chair_person],3)) & ":"

or

FullName: StrConv("Dear " & Trim([dbo_sponsor]![spn_chair_person]),3) & ":"
 
They both work perfectly. Thank you so much!

This will fix another problem I have in a different query.

THANK YOU SOOOOOO MUCH PBALDY!!!! :D
 
Happy to help!
 

Users who are viewing this thread

Back
Top Bottom