Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    225

    Unanswered: totalling 3 tables, 1 is null on occassions

    i have a query that uses data from a series of tables, the trouble i have is that if one of the tables is null i don't get any data returned.

    current query:

    Code:
    Dtime: [Mktbl_otherDTime]![Other]+[Mktbl_UnacDTime]![Total]+[mk_tblBreakdowns]![Breakdowns]
    example:

    if i have data in:-

    [Mktbl_otherDTime]![Other]
    [Mktbl_UnacDTime]![Total]

    but no value in:-

    [mk_tblBreakdowns]![Breakdowns]

    i need the total of tables with data so effectivly the third table will be classed as zero

    how should i do this please

    Andy

  2. #2
    Join Date
    Sep 2004
    Posts
    161
    You can verify the join statement of your Query, i think you join your table by "inner join" and you must use "Left join" or "inner join"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •