Results 1 to 3 of 3
  1. #1
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283

    Query Help

    Hey guys Im new to Access and SQL. But my database is survey information. I have 3 tables. [Customer] has the info about the customer. [Survery Info] has the survey questions and answers. And [HealthPlan] has that info. But I want to make a query within the HealthPlan Table. The fields are Phone 1, and Phone 2. If the phone call is not returned within 15 days to display the records. I tried the codes.

    Select [Phone 1], [Phone 2]


    From HealthPlan
    Where [Phone 2] - [Phone 1] >15

    and

    Select * from HealthPlan
    Where [Phone 2] - [Phone 1] >15

    And they just show blank records, with no information. anyone know why?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Are your fields [Phone 1] and [Phone 2] formatted as Date fields (or Text)?
    Are they always populated (or sometimes blank)?
    Can you post a few examples where you think it should be returning records and it isn't?

  3. #3
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283
    Nevermind I figured it out. thank you anyways.

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

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