chr(13) carriage return???

KIMBOZZZ

Registered User.
Local time
Today, 16:34
Joined
Jun 17, 2002
Messages
14
i have a field... well actually a concatenation of trimed fields....but i need to insert a carriage return between some of them... i thought CHR(13) was the kiddie to use ...but all it does is put a square symbol in the sstring . how do i get a carriage return inserted?

thanks in advance.... kimbo:):confused:
 
I've seen «vbCrLf» somewhere.
Maybe that is what you're looking for.
 
thanks for that... so far i've got ....
=Trim([Home Address]) & IIf(Len(Trim([Home Address])) Is Null,"",Chr(13)) & Trim([Address]) & IIf(Len(Trim([Address])) Is Null,"",Chr(13)) & Trim([City]) & IIf(Len(Trim([City])) Is Null,"",Chr(13)) & Trim([State]) & IIf(Len(Trim([State])) Is Null,"",Chr(13)) & Trim([Zip/Postal Code]) & IIf(Len(Trim([Country])) Is Null,"",Chr(13)) & Trim([Zip/Postal Code]) & [Country]

if i substitute vbcrlf
for chr(13) the vbcrlf is imediatly encapsulated [vbcrlf] and when the report runs i'm asked for the field vbcrlf

it's probably just me and my lack of code knowledge but surely this should be easy!!!!!?
 

Users who are viewing this thread

Back
Top Bottom