Re: Error 3122 You tried to execute a query that does not include
From: John Vinson (jvinson_at_STOP_SPAM.WysardOfInfo.com)
Date: 11/27/04
- Next message: John Vinson: "Re: Append Questions"
- Previous message: luminary: "Re: How to get data from Analysis Services cubes into Access"
- In reply to: Steven Cheng: "Re: Error 3122 You tried to execute a query that does not include"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Nov 2004 17:18:21 -0700
On Fri, 26 Nov 2004 15:05:02 -0800, Steven Cheng
<StevenCheng@discussions.microsoft.com> wrote:
>There should be a null value as the fields are calculated fields to ensure
>that there isn't a value:
>
>Job: =iif([TempJobCode]="",[HomeJobCode],[TempDepartmentCode]).
A zero length string is NOT the same as NULL. The string constant ""
is a specific, defined value - a string of zero length. NULL, on the
other hand, means "this field is undefined, unknown, it could be
anything".
Try
Job: IIF(IsNull([TempJobCode]), ,[HomeJobCode], [TempDepartmentCode])
John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
- Next message: John Vinson: "Re: Append Questions"
- Previous message: luminary: "Re: How to get data from Analysis Services cubes into Access"
- In reply to: Steven Cheng: "Re: Error 3122 You tried to execute a query that does not include"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|