[mso] Re: Access: Formula in Report :VSMail mx3

  • From: James LaBorde <jlaborde@xxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Mon, 2 Jun 2003 12:22:43 -0700

Glenda,

Anthony is correct.  You will either want to do your conversion in your
query or write an Event Code that sets the field property to Visible=No in
the On Format Event.  If you select that option make sure you trap for error
2501 which is no data in the report or if you ever end up with an empty
recordset, your code will blow up.

James

-----Original Message-----
From: Colli, Anthony G [mailto:Anthony.Colli@xxxxxxx]
Sent: Monday, June 02, 2003 11:58 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access: Formula in Report :VSMail mx3


/g
[200425] probably isn't been seen by Access as a number, if it can't do the
comparison it will return an error. It might help to do the conversion of
the data in the query that the report is based on.

-Anthony

-----Original Message-----
From: Glenda Wells [ mailto:gwells@xxxxxxxxxxx]
Sent: Monday, June 02, 2003 2:22 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Access: Formula in Report


Hi All.

I need to write a formula in a report that returns a blank if the value
in a field is < = 0.  In other words, I don't want the 0 values to
display.

I wrote this =IIf([200425]>0,[200425],"") and keep getting a #Error.
Even if I write this, =IIf([200425]>0,[200425],1), I get #Error

Any help appreciated.  /g
*************************************************************
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
*************************************************************
*************************************************************
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: Formula in Report :VSMail mx3