A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#num!



 
 
Thread Tools Display Modes
  #1  
Old September 13th, 2006, 02:16 PM posted to microsoft.public.access.queries
DDBeards
external usenet poster
 
Posts: 20
Default #num!

I am trying to null out any field that a #num! appears in. I have tried all
the solutions posted so far and can find none to help. The fields are date
fields link to an excel sheet. the error occurs anywhere the input field is
blank. However, the cell in excel actually contains a if() statement that
copies in a value or "". What I am trying to do is write a query that looks
for the #num! and replace it with a null.
The last code I tried was
GD: IIf([CPAP_APD]0 And Not IsNull([cpap_APD]),[cpap_apd],Null)
The date comes over great, but where the error occurs, the error #num!
carries over.

Please help, this is time sensative and I have been trying to solve it for
several days now.

Thanks

  #2  
Old September 13th, 2006, 05:33 PM posted to microsoft.public.access.queries
Rob
external usenet poster
 
Posts: 17
Default #num!

The first thing I'd try is to get rid of the #NUM errors in Excel. Try
using the ISERROR in an IF formula, like

=IF(ISERROR(myformula), "", myformula)

Rob

DDBeards wrote:
I am trying to null out any field that a #num! appears in. I have tried all
the solutions posted so far and can find none to help. The fields are date
fields link to an excel sheet. the error occurs anywhere the input field is
blank. However, the cell in excel actually contains a if() statement that
copies in a value or "". What I am trying to do is write a query that looks
for the #num! and replace it with a null.
The last code I tried was
GD: IIf([CPAP_APD]0 And Not IsNull([cpap_APD]),[cpap_apd],Null)
The date comes over great, but where the error occurs, the error #num!
carries over.

Please help, this is time sensative and I have been trying to solve it for
several days now.

Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.