Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Lisa Perry is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Location
    New Hampshire
    Posts
    39

    Thank you. Did you upload a new database - I only see the one you sent earlier and it did the same thing? Lisa

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I should really test my code before uploading!
    I changed my upload *again* after testing. Evidently the field is not actually Empty, at least as far as the IsEmpty() function is concerned.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    New db on Post #12.

  4. #19
    Lisa Perry is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Location
    New Hampshire
    Posts
    39
    Hello,

    Sorry it took me so long to get back to you I was pulled in another direction. I opened the DB in post 12 and I am getting the same error message as before...the query runs if all dates are in the table but as soon as I remove the AE_Resp_Rcvd date in one of my customer's records and then run the query - I get this message....

    Run Time Error 94 - Invalid use of Null and it points to the below bold line of code...are you able to run with no error?


    Dim lngYear As Long
    Dim lngEYear As Long
    Dim dteStart As Date, dteEnd As Date
    Dim dteCurr As Date
    Dim lngDay As Long
    Dim lngDiff As Long
    Dim lngACount As Long
    Dim dteLoop As Variant
    Dim blnHol As Boolean
    Dim dteHoliday() As Date
    Dim lngCount As Long, lngTotal As Long
    Dim lngThanks As Long
    dteStart = dteStartDate
    dteEnd = dteEndDate



    I am so sorry to take your time up and I appreciate your help.

    Lisa

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Sorry Lisa,
    How about this one?
    Attached Files Attached Files

  6. #21
    Lisa Perry is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Location
    New Hampshire
    Posts
    39
    Thank you so much, this worked beautifully. I can't tell you how much I appreciate your help - twice now! You are very kind to help me and I am learning from you!

    Thank you again and have a great day!

    Lisa

  7. #22
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You're certainly welcome. Glad we could help.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 04-03-2013, 05:53 PM
  2. Replies: 8
    Last Post: 06-13-2012, 08:08 PM
  3. Evaluating Null in a Case Function
    By orcinus in forum Programming
    Replies: 8
    Last Post: 05-11-2012, 10:27 AM
  4. Combo is Null Function Help
    By fabian1675 in forum Forms
    Replies: 1
    Last Post: 02-10-2012, 05:57 PM
  5. Replies: 2
    Last Post: 08-01-2011, 09:30 AM

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