Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,549
    Quote Originally Posted by isladogs View Post
    Note that text data is still encoded (apart from the headers). Your example only has numbers including currency & dates
    Well, that is a bugger. and it happens regardless of method.
    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

  2. #17
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,203
    Just to add that the problems with exporting to HTML with formatting are wider than it first appeared.

    I have done some extensive testing and ALSO found errors with the actual HTML output:
    a) errors with additional characters being added at the end of the first field of the first record
    b) a nonsensical field being added to the output of an exported form containing an unbound checkbox

    I've reported the issues to the Access team who have confirmed my findings and the causes are being investigated
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #18
    kdporter is offline Novice
    Windows 10 Office 365
    Join Date
    Aug 2025
    Posts
    2
    My apologies for taking so long to reply, but I didn't know where to look for the information you were asking for.

    The build info listed under "About Access" is Microsoft Access for Microsoft 365 MSO (Version 2508 Build 16.0.19127.20082) 32-bit.

    Please note that this is a different build than when I originally posted, as I forced an update to the latest version. The update did not resolve the issue.

    My Windows Specification is Windows 10 Pro, Version 22H2, OS Build 19045.6216.

  4. #19
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,203
    Thanks but things have moved on since I asked the question.

    A reminder to provide the version and build info to the right of the About Access button and not that displayed at the top of a separate dialog box when the button is clicked

    The encoding seems to be related to some essential compliance work done in recent months.
    However there are wider issues with the HTML output as well which the Access team are investigating.

    I’m going to write this up as a web article with additional examples in the next few days.

    Its too soon to say how or when it will be dealt with

    In the meantime. I suggest you either disable the export with formatting option in the wizard or do the export using code (DoCmd.TransferText)
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  5. #20
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,203
    Just a quick update to say I've just published a new article outlining the issues with the Export to HTML wizard using the Export with formatting and layout option.
    The issues go beyond the additional encoding of numerical data as there are also data changes in the HTML output for both queries and some forms (those with unbound checkboxes)

    See Export Objects to HTML Encoding Issues

    Thanks to @kdpoter for first raising the encoding issue and to @welshgasman for prompting me to investigate it properly.
    I will update this thread when I get any news about a fix from the Access team
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  6. #21
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,549
    Thanks Colin.
    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

  7. #22
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,549
    That update appears to have broken my conditional formatting with an expression and comparing against a TempVar.
    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. #23
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,203
    UPDATE:
    The Export To HTML with formatting issues have been fixed in the latest Beta channel update to version 2509 build 19230.20002 released on 2 Sept.
    The fix should roll out to other channels in the near future.

    The fixed version no longer encodes any of the data and the resulting data errors in the output have also been eliminated.

    Click image for larger version. 

Name:	FixedExportHTML.png 
Views:	8 
Size:	120.9 KB 
ID:	53243
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. Display HTML or webpage in HTML report
    By journeyman in forum Reports
    Replies: 5
    Last Post: 02-22-2024, 06:03 PM
  2. Replies: 13
    Last Post: 05-22-2021, 12:11 AM
  3. HTML characters in plain text field
    By etorasso in forum Access
    Replies: 3
    Last Post: 09-25-2014, 11:47 AM
  4. algorithm for encoding password string
    By princess-1 in forum Security
    Replies: 2
    Last Post: 10-30-2010, 05:48 PM
  5. SSN Encoding
    By Lunch in forum Programming
    Replies: 13
    Last Post: 02-01-2010, 03:20 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