Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 310379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:49:41+00:00 2026-05-12T07:49:41+00:00

Using Access 2003 Two Table, Tmp_cardevent1, tmp_cardevent3 Query SELECT AllPossibleCardEvents.PersonId, AllPossibleCardEvents.CardEventDate, Actual.Intime FROM ((SELECT

  • 0

Using Access 2003

Two Table, Tmp_cardevent1, tmp_cardevent3

Query

SELECT AllPossibleCardEvents.PersonId,  AllPossibleCardEvents.CardEventDate, Actual.Intime FROM ((SELECT p.PersonId,  AllDates.CardEventDate FROM (SELECT DISTINCT CardEventDate FROM TMP_Cardevent3) AllDates, Tmp_cardevent1  p) AllPossibleCardEvents LEFT OUTER JOIN TMP_cardevent3  Actual ON AllPossibleCardEvents.PersonId = Actual.PersonId AND AllPossibleCardEvents.CardEventDate = Actual.CardEventDate) 

Output.

PERSONID    CardEventDate   Intime
3156    05/08/2008  
3335    05/08/2008  
3405    05/08/2008  20:58:58
3406    05/08/2008  
3410    05/08/2008  
3422    05/08/2008  
3424    05/08/2008  
3441    05/08/2008  
3447    05/08/2008  
3461    05/08/2008  
48  05/08/2008  
484 05/08/2008  
5   05/08/2008  
5008    05/08/2008  20:01:45

So on…,

For the Blank Intime column I want to display like this ‘—–‘

Tried Query

SELECT PERSONID, CARDEVENTDATE, INTIME FROM
(SELECT AllPossibleCardEvents.PersonId, AllPossibleCardEvents.CardEventDate, (iif(Actual.Intime=’’, ‘-----‘,Actual.Intime) as Intime FROM ((SELECT p.PersonId,  AllDates.CardEventDate FROM (SELECT DISTINCT CardEventDate FROM TMP_Cardevent3) AllDates, Tmp_cardevent1  p) AllPossibleCardEvents LEFT OUTER JOIN TMP_cardevent3  Actual ON AllPossibleCardEvents.PersonId = Actual.PersonId AND AllPossibleCardEvents.CardEventDate = Actual.CardEventDate) )

But I cannot able to update the null column, Is the structure is available for the Intime column

Expected Output

PERSONID    CardEventDate   Intime
3156    05/08/2008  -----
3335    05/08/2008  -----
3405    05/08/2008  20:58:58
3406    05/08/2008  -----
3410    05/08/2008  -----
3422    05/08/2008  -----
3424    05/08/2008  -----
3441    05/08/2008  -----
3447    05/08/2008  -----
3461    05/08/2008  -----
48  05/08/2008  -----
484 05/08/2008  -----
5   05/08/2008  -----
5008    05/08/2008  20:01:45

How to make a query for this null column?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:49:41+00:00Added an answer on May 12, 2026 at 7:49 am

    You can use the IsNull built-in function.

    SELECT
        PERSONID,
        CARDEVENTDATE,
        INTIME
    FROM
        (SELECT
            AllPossibleCardEvents.PersonId,
            AllPossibleCardEvents.CardEventDate,
            (iif(iif(IsNull(Actual.Intime), '', Actual.Intime)='', '-----', Actual.Intime) as Intime
        FROM ((SELECT
            p.PersonId,
            AllDates.CardEventDate FROM
            (SELECT DISTINCT
                CardEventDate FROM TMP_Cardevent3) AllDates,
                Tmp_cardevent1  p) AllPossibleCardEvents
            LEFT OUTER JOIN TMP_cardevent3 Actual
            ON AllPossibleCardEvents.PersonId = Actual.PersonId AND
            AllPossibleCardEvents.CardEventDate = Actual.CardEventDate))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using MS Access 2003 My query. select a.personid, a.cardeventdate as newday, a.intime as intime,
Using Access 2003 I want to get a table value from the two databases
I'm using Access 2003 and doing a make table query. The idea is, I
Using Access 2003 Table PersonID TotalHours 111 12.23.34 111 23.32.23 111 14.32.23 222 00:23:32
Using Access 2003 In my table column, some of the fields are null, some
Using Access 2003 Database Table1 Intime Outtime WorkTime OverTime 08:00:00 19:00:00 09:00:00 02:00:00 09:00:00
Using MS - Access 2003 Table S.No Details 1 name 2 address 3 email
This is Access 2003. From an access database code module, I am opening two
USING VB6 AND MS-ACCESS 2003 So on…, TABLE 1 EMPID DATE 101 22-07-2009 201
Using VB 6 and Access 2003 I am using two command buttons (process, cancel)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.