Chr() (1 Viewer)

crosmill

Registered User.
Local time
Today, 17:10
Joined
Sep 20, 2001
Messages
285
Does a Chr() code exist for Carriage Return?

Does anyone have a list of these code that they could send to me?

Thanks

Found one!

[This message has been edited by crosmill (edited 11-07-2001).]
 

Axis

Registered User.
Local time
Today, 17:10
Joined
Feb 3, 2000
Messages
74
To go to a new line, Access wants both a carriage return and a line break. You'll need: chr(13) & chr(10).
 

crook_n_flail

Registered User.
Local time
Today, 17:10
Joined
Aug 18, 2001
Messages
11
Exactly, or you could use:
vbCrLf

This takes care of carriage return and line feed.

regards,
crook
 

crosmill

Registered User.
Local time
Today, 17:10
Joined
Sep 20, 2001
Messages
285
Thanks guys that sorted it!

I'm having trouble referencing the address now though.

I've been testing it on text boxes on my form but the form is based on the individual, so, I need to base it on the sub form and hide the subform or on the table directly.

I've tried both without success.
Tables![Address].[Address 1] and
Forms![Address].[Address 1] etc

any ideas?

TFYH



[This message has been edited by crosmill (edited 11-08-2001).]
 

crosmill

Registered User.
Local time
Today, 17:10
Joined
Sep 20, 2001
Messages
285
Thanks for your efforts guys.

I sorted it by using DLookUp.

If anyone knows of a more efficent way I'd love to hear it.

Thanks again
 

Users who are viewing this thread

Top Bottom