Results 1 to 2 of 2
  1. #1
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659

    Query used to import data from access > excel

    I have a query that I have been using for a few months that has worked great. Recently I have been getting an error that says there was a problem with the database or server. I have found that the problem lies in the field in the query that does



    IIf(IsDate([tblSalesOrders].[DatePromised]),CInt(CDate([tblSalesOrders].[DatePromised])-Now()),"") AS days_until_due

    When I remove that from the query, the query returns data to excel.

    Thoughts?

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    found my problem, had a pesky null in datepromised for 1 line ....

    thanks anyways.

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

Similar Threads

  1. Replies: 6
    Last Post: 04-30-2013, 01:37 AM
  2. Import excel data to sql server programatically using ms access
    By selvakumar.arc in forum Import/Export Data
    Replies: 3
    Last Post: 04-29-2013, 08:32 AM
  3. Trying to import data into access from excel
    By Cupps256 in forum Access
    Replies: 10
    Last Post: 03-09-2013, 02:31 AM
  4. Import Excel Data to Multiple Access Tables
    By colby in forum Import/Export Data
    Replies: 3
    Last Post: 11-04-2011, 12:17 PM
  5. Import Data from Excel into Access
    By sauce1979 in forum Import/Export Data
    Replies: 2
    Last Post: 10-14-2011, 12:05 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