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  

"Data Type Mismatch In Criteria Expression" Error



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2004, 02:24 PM
LB
external usenet poster
 
Posts: n/a
Default "Data Type Mismatch In Criteria Expression" Error

Please see query statement below:

String$(1,40) & Left$([SQLIS_PROVMISC]![FAXNBR],3) & String$(1,41) &
Space$(1) & Mid([SQLIS_PROVMISC]![FAXNBR],4,3) & String$(1,45) &
Right([SQLIS_PROVMISC]![FAXNBR],4)
  #2  
Old November 9th, 2004, 04:02 PM
JL
external usenet poster
 
Posts: n/a
Default

Hi,
My guess is because the [SQLIS_PROVMISC]![FAXNBR] is null.


"LB" wrote:

Please see query statement below:

String$(1,40) & Left$([SQLIS_PROVMISC]![FAXNBR],3) & String$(1,41) &
Space$(1) & Mid([SQLIS_PROVMISC]![FAXNBR],4,3) & String$(1,45) &
Right([SQLIS_PROVMISC]![FAXNBR],4)

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arithmetic overflow error converting numeric to data type numeric eddiec General Discussion 2 November 1st, 2004 10:24 AM
When I try to change the data type I get an error that there isn'. KIKI General Discussion 1 September 29th, 2004 04:06 AM
Data type mismatch in criteria expression Paul James Running & Setting Up Queries 5 September 8th, 2004 01:13 AM
data type mismatch error Praveen Manne Using Forms 3 June 30th, 2004 11:02 PM
Complicated issue re 'Type mismatch in JOIN expression' Adam General Discussion 10 June 14th, 2004 09:39 AM


All times are GMT +1. The time now is 08:12 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.