Results 1 to 7 of 7
  1. #1
    papaworx is offline Novice
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Posts
    4

    right-to-left report bug


    I am trying to save a report containing right-to-left text (Hebrew) to a Word (.rtf) file. It works "kind off". Unfortunately, "kind off" isn't good enough: normal phrases are saved correctly, but as soon as the text contains '[', ']', or '.' the word order of the whole phrase is reversed. The letter order within words remains correct. The phrases appear correctly in the report itself, but become scrambled when saving to an (.rtf) file.

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    I not had good luck exporting Access reports to a RTF.

    I found using Word Automation works much better.
    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

  3. #3
    papaworx is offline Novice
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Posts
    4
    Yes. I have used Word mail merge as well. But, unfortunately, the same thing happened. It seems that some characters, such as square brackets, don't really exist in the right-to-left set and are intercalated from a left-to-right set. I am still struggling to learn, how the translation of encoding between Access and Word works.

  4. #4
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    Quote Originally Posted by papaworx View Post
    Yes. I have used Word mail merge as well. But, unfortunately, the same thing happened. It seems that some characters, such as square brackets, don't really exist in the right-to-left set and are intercalated from a left-to-right set. I am still struggling to learn, how the translation of encoding between Access and Word works.
    Have you tired automation (not the same as mail merge)?

    With automation you work with the Word through VBA code to perform tasks.

    Examples:
    Fill in Word Forms Using Information Stored in Access
    Sending the Current Record to Word 97 with Automation
    Word Automation, Part I
    Word Automation, Part II
    Word-VBA Code Samples
    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

  5. #5
    papaworx is offline Novice
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Posts
    4
    So I reverted to VBA automation. Didn't help much. A trailing, closing square bracket it still being converted to a leading, opening square bracket.

  6. #6
    papaworx is offline Novice
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Posts
    4
    I take it back. It does work. All I had to do, was to set "objWord.Selection.ParagraphFormat.ReadingOrde r = wdReadingOrderRtl"

    go figure! Thanks for your help

  7. #7
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705

    Thumbs up

    You're welcome.

    Glad I could point you in the right direction.

    Great job figuring it out.
    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

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

Similar Threads

  1. Help With Left Joins
    By DaveyJ in forum Queries
    Replies: 23
    Last Post: 06-28-2010, 08:38 AM
  2. Problem with Left Join & VB6
    By msrdjan1 in forum Queries
    Replies: 0
    Last Post: 03-30-2010, 01:48 AM
  3. upper left button
    By julienb in forum Forms
    Replies: 0
    Last Post: 03-02-2010, 07:55 AM
  4. Update with LEFT JOIN
    By mcarthey in forum Access
    Replies: 1
    Last Post: 08-27-2008, 10:49 AM
  5. Examples of left joins?
    By narayanis in forum Queries
    Replies: 0
    Last Post: 06-14-2008, 06:17 AM

Tags for this Thread

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