[mso] Re: access: cupla more questions :VSMail mx3

  • From: James LaBorde <jlaborde@xxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Tue, 4 Mar 2003 13:00:05 -0800

Glenda,

This is where an IIF statement comes in very handy.  Try something like
this:

FullZip: [zip] & IIF(len([zip+4])>0, "-" & [zip+4])
This assumes zip+4 is text.  You may have to play with it a little and add
something to account for a null value, but it should get you on the right
track.

This should return:
98765-1234
98765

James

-----Original Message-----
From: Glenda Wells [mailto:gwells@xxxxxxxxxxx]
Sent: Tuesday, March 04, 2003 10:02 AM
To: 'mso@xxxxxxxxxxxxx'
Subject: [mso] access: cupla more questions :VSMail mx3


I know that double quotes in a field indicates the data should be text.  Is
there a similar indicator for date/time?
 
I have a zip code field that is a combination 2 fields for the 5-digit zip
and +4. However, not all records have a +4. Where there is no +4, how do I
tell the system I want to display 4 zeros.  OR, I'm using a - when I
concatenate the 2 fields so the result might be 32724-1234.  If there is no
+4, how do I tell the system to eliminate the hyphen?
 
What I'm getting right now is
32724-1234
32723-
 
 
 


*************************************************************
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).
//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
*************************************************************
*************************************************************
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).
//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:

  • » [mso] Re: access: cupla more questions :VSMail mx3