[mso] Re: Formatting a concatenated field
- From: Cathy.Evans@xxxxxxxxx
- To: mso@xxxxxxxxxxxxx
- Date: Thu, 29 Jan 2004 15:35:39 -0500
Can't thank you enough, Ray! Solved exactly as needed. Thanks for the
resource url, too. :-)
"Ray Blake"
<ray@xxxxxxxxx> To: <mso@xxxxxxxxxxxxx>
Sent by:
mso-bounce@free cc:
lists.org
01/29/2004 Subject: [mso] Re: Formatting a
concatenated field
03:02 PM
Please respond
.....
to mso
Yes, you can. See here for details:
http://www.grbps.com/raq15.htm
In the case of your field, the concatenation needs to look like this:
[order number]&"-"&CStr(Format([mrrno],"0000"))
Ray
_____________
This email is from Ray Blake, Head of Software Design, GR Business
Process Solutions. It is confidential and intended for the addressee
only. The contents are private and may be legally privileged. If you
receive this email in error we would be grateful if you would advise the
sender and delete the email from your system.
For more information on the services that we offer please visit us at
our website: www.grbps.com
-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Cathy.Evans@xxxxxxxxx
Sent: 29 January 2004 19:35
To: mso@xxxxxxxxxxxxx
Subject: [mso] Formatting a concatenated field
I have a concatenated field as follows: [order number]&"-"&[mrrno]. The
[mrrno] comes from a numeric field formatted as 0000 so it will show
0001, 0002, instead of 1, 2, etc. The [order number] field is
alphanumeric. They are concatenated in order to form a unique key for
certain filtering I need, however, the result looks like '1234xx5678-1'.
I want it to look like '1234xx5678-0001'. Can I force the 0000 format on
the [mrrno] to show in the final concatenated result? Thank you!
-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain confidential
and/or privileged material. If you are not the intended recipient
of this message you are hereby notified that any use, review,
retransmission, dissemination, distribution, reproduction or any
action taken in reliance upon this message is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer. Any views expressed in this message
are those of the individual sender and may not necessarily reflect
the views of the company.
-------------------------------------------------------------------------------------------------------
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in
the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also allow
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with
instructions. Once you are a member of the files group, you can go here to
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
Other related posts: