Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 54
  1. #31
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    Now I am getting a #Type! error

  2. #32
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37

    #Type!

    getting a #Type! error
    Attached Thumbnails Attached Thumbnails Capture6.PNG   Capture7.PNG  

  3. #33
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    You need to show what that DateValue is using in the ControlSource?
    If Mydate, then I would have thought you need to use another name for the control?, otherwise confusing as hell.

    Just upload the DB as requested in post #16 please, this is at 32 posts and we have got absolutely nowhere.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #34
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37

    Test database

    Here is what I have
    Attached Files Attached Files

  5. #35
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    Quote Originally Posted by Sonyat810 View Post
    Here is what I have
    And detailed instructions?

    Edit: Table is linked, so no good to anyone except you.
    Import it into the DB and upload again.

    You do not want to change your date format in Access, just when you export to BI?, so need to see how that is carried out?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #36
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37

    I changed the db

    Here is what I have
    Attached Files Attached Files

  7. #37
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    I changed the field to LiquidDate as you still had it as Date?, so MyDate was never going to work.
    You will get an error when you add a new record as the date field will not have a value.

    However I thought this saga was all about getting rid of the time element from a field so as to export to BI.?

    You have no time elements in what you uploaded?
    Attached Thumbnails Attached Thumbnails qbe.JPG   qbe output.JPG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #38
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    Ok, it has finally sunk in what is happening.
    There are no time elements in your date field, Access itself adds them as 00:00:00 when you export. :(

    So you need to find out what format BI expects dates to be in and format to that format. A quick google shows that people recommend importing as text and then creating a date from that?
    However I would certainly look to see how BI expects a date when importing.

    You are on your own with BI. :)
    Attached Thumbnails Attached Thumbnails qbe.JPG   qbe output.JPG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  9. #39
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Suggestions:
    Object names should be letters and numbers.
    Do not begin an object name with a number.
    NO spaces, punctuation or special characters (exception is the underscore) in object names (Field, Table, Query and Form names)

    Bad field name: "Liquid Amount (Gallons)" AND has spaces
    Better: "Liquid_Amount_Gallons" or "LiquidAmountGallons"

  10. #40
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    Also why the csv route?
    Apparently PBI can link/import just like Access?
    https://www.google.com/search?client...rt+from+access
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  11. #41
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    FWIW I downloaded PBI Desktop and used it to access your TestDB
    It appears to only recognise tables, so you would need to create one for your output.?

    However it is vey slow on my old laptop, so I left it to go and get a passenger.
    When I returned, no error message.
    I have no clue how to see that data in PBI, but it appears to have been imported/linked without any issues?

    So perhaps try Access direct? You have to click on the More option to see Access database.
    Attached Thumbnails Attached Thumbnails PBI.JPG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  12. #42
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    Ok I will try this

  13. #43
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,927
    Quote Originally Posted by Sonyat810 View Post
    Ok I will try this
    Crossposting the same query after 30 plus posts, is not what I would call 'ok, I will try this'

    https://www.accessforums.net/showthread.php?t=86422
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  14. #44
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    Sorry, I didnt mean to cross post but I sense your patience is running thin with so many post. Just trying to figure this out.

  15. #45
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,800
    Maybe what's needed is a higher level description of what you are doing and what the outcome needs to be. So far, this seems to be like
    "I need to do B. I have already done/set up A"
    Sometimes the problem is really A and there is a better way that avoids having to do B. Can you provide a description of the process involved in this data management?
    Might be a good idea to mark the other thread as solved so that people who are unaware of this one don't start asking questions in the other one? Then we can see where your description takes this. It may very well be that a new thread is warranted, but I'd say not until we know more about the process.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Page 3 of 4 FirstFirst 1234 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Timestamp converted to just date
    By Lisa Roby in forum Queries
    Replies: 12
    Last Post: 03-24-2020, 07:41 PM
  2. Replies: 8
    Last Post: 11-16-2017, 03:07 PM
  3. Replies: 6
    Last Post: 06-30-2017, 02:15 PM
  4. Replies: 6
    Last Post: 04-19-2016, 03:58 PM
  5. Replies: 3
    Last Post: 11-12-2014, 05:31 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