Results 1 to 3 of 3
  1. #1
    cometdragon is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    2

    Exclamation Calculation problem

    Hi, I'm a newbie who really needs help on a work project. Please excuse my ignorance. My project is to create a database for a lab for training dates of employees on various laboratory benches with dates of completed competency testing performed six months later. The supervisors want to be able to query when an employee's six month competency testing is due. A query has been created with the existing training dates and completed six month competency test dates. I was able to use the DateAdd function to add 180 days to the training date but how to I create a calculation that works only for training dates with no existing competency dates? When I tried using the IIF function and IsNull or IsEmpty the query returned '0'. Your help is greatly appreciated.

    Elizabeth

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    What does the table look like? Are you leaving the the exam dates blank or are you filling them with some dummy value?

    If you're leaving them blank, then you should have been able to just check for IsNull([ExamDate]).

    Can you post the SQL Statement you're using? That might give us some more information on what's going on.

  3. #3
    cometdragon is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    2

    Thank you

    Thank you for responding for more information. I found someone at work, in another department, who helped me solve the calculation.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculation Help
    By edge5511 in forum Programming
    Replies: 4
    Last Post: 12-18-2015, 11:11 AM
  2. Calculation Help
    By ErnieS in forum Access
    Replies: 13
    Last Post: 07-08-2010, 08:35 AM
  3. Date Calculation -- HELP!
    By klaauser in forum Forms
    Replies: 0
    Last Post: 12-22-2008, 02:14 PM
  4. Calculation
    By thestclair in forum Reports
    Replies: 1
    Last Post: 04-29-2006, 11:03 AM
  5. Report Calculation
    By thestclair in forum Reports
    Replies: 2
    Last Post: 03-28-2006, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums