About right-to-left language features

The feature described in this Help topic is only available if support for right-to-left languages is enabled through Microsoft Office Language Settings.

In addition, to enable the right-to-left features in Microsoft Access, you must be running a 32-bit Microsoft Windows operating system that has right-to-left support - for example, Microsoft Windows 2000.

When languages such as Arabic, Farsi, Hebrew, and Urdu are enabled for editing, you have several features available to you to make working in a right-to-left or bidirectional environment easier.

About bidirectional fonts

Access is designed to display and print both right-to-left and left-to-right text. For best results, the program should use a font that contains both right-to-left and left-to-right language characters. Some fonts available with Office and bidirectional Windows operating systems contain both right-to-left and left-to-right characters. 

If you choose a font that does not contain both right-to-left and left-to-right characters, existing text in one or both languages may be displayed using a secondary font, such as Tahoma.  For further information, refer to 'Unicode support' in Microsoft Office Help.

About checking the spelling of bidirectional text

You can check the spelling of both your English and right-to-left text in the Memo, Text, and Hyperlink fields. Just choose a dictionary that corresponds to the text that will be used.

When right-to-left text is checked, English words are ignored and not flagged as misspelled. Similarly, when English text is checked, right-to-left words are ignored.

About using bidirectional text in expressions

The feature described in this Help topic is only available if support for right-to-left languages is enabled through Microsoft Office Language Settings.

In addition, to enable the right-to-left features in Microsoft Access, you must be running a 32-bit Microsoft Windows operating system that has right-to-left support รน for example, Microsoft Windows 2000.

Access preserves expressions with left alignment and left-to-right reading order. Expression terms are preserved in left-to-right order to ensure the visual readability of expression statements that contain mixed text. As each statement character is entered, the expression display is dynamically updated.

The following table provides examples of bidirectional text that is used in expressions.

Bidirectional text used in expressions

There are a few other considerations when using expressions with right-to-left languages:

Note   Bidirectional text used in the Expression Builder will "swap" certain neutral character pairs such as "( )" and "{ }" when the keyboard language is a right-to-left language. To avoid this, change the keyboard language to a left-to-right language or type the correct character.

 

About right-to-left features compatibility

Access 2000 (and later versions) provides full forward compatibility for database files saved in all previous versions of Access with right-to-left support.

About using different calendars

Access supports use of the Hijri calendar in addition to the standard Gregorian calendar in all locales except Thai and East Asian locales.

If you open an existing database with date references and you have selected the wrong calendar setting, the program might report a variety of errors or other unexpected behaviors. For example, if you have checked the Hijri Calendar setting, Access will display a syntax error message if a report makes reference to Gregorian dates that are invalid as Hijri dates (for example, the date 12/31/99 will produce a syntax error because no Hijri month has 31 days).

To avoid problems of this sort, all date references in a database must be based on the same calendar.

Important   It is recommended that you choose the database calendar when you first create your database, and then never change it.

Other considerations when the database calendar is set to Hijri

 

About right-to-left sort orders

The default Access sort order, General, handles sorting of right-to-left characters; that is, there are no separate sort orders for right-to-left languages. General sort order now includes right-to-left characters because characters are stored as Unicode values. The behavior of General sort order for right-to-left characters stored as Unicode values is identical to the behavior of right-to-left characters previously stored as Arabic or Hebrew code page values and sorted by using Arabic sort order and Hebrew sort order, respectively.

Right-to-left text is sorted along the following guidelines:

Note   When opened or imported, previous-version databases that use a right-to-left sort order are saved with the Access General sort order.

About importing, exporting, and linking right-to-left tables in text formats

Right-to-left enabled Access supports several code pages used in importing, saving, and exporting HTML Web pages. See the next topic About code page and text layout support for right-to-left HTML files for more information about supported code pages

A table or worksheet in Lotus, dBASE, Microsoft FoxPro, Paradox, or ODBC database format that requires code page or text layout conversion can still be imported into Access by saving the table or worksheet in text file format prior to importing it. The ability to save a table or worksheet in text file format is a standard feature of most database or spreadsheet products. When Access imports the text file, all field names and records from the original table or worksheet will be fully recreated in a new Access table.

To import, export, or link text files that are not recognized by Access, use ConvText.exe, a stand-alone text-file conversion utility that provides both logical and visual text layout options and an expanded list of supported bidirectional code pages. ConvText.exe is available on the Microsoft Office Web site and on the installation CDs for Microsoft Office language versions that offer right-to-left support.

Note   The hyperlink in this topic goes to the Web. You can switch back to Help at any time

About code page and text layout support for right-to-left HTML files

Right-to-left enabled Access supports several code pages used in importing, saving, and exporting HTML Web pages.

Code page conversion of tables or worksheets with right-to-left characteristics is provided for HTML files stored in logical text layout and one of the following right-to-left code pages:

Language Code page
Arabic UTF-8 (default)
  ISO 8859-6
  DOS-720
  ASMO-708
Hebrew UTF-8 (default)
  ISO 8859-8
  DOS-862

Note   Access supports editing and saving of HTML files in logical text layout. HTML files stored in visual text layout can be viewed but not edited or saved in logical text layout.

About creating macros in right-to-left applications

The following are some considerations to keep in mind:

About creating modules in right-to-left applications

Access supports these right-to-left characteristics in modules:

Visual Basic for Applications

All Microsoft Visual Basic for Applications procedures and properties that provide right-to-left functionality to Access are listed alphabetically in the following table.

Procedures and properties Type
Calendar Property
DataType Property
Date, Date$ Function
DateAdd Function
DateDiff Function
DatePart Function
DateSerial Function
DateValue Function
Day Function
Format, Format$ Function
Format Property
GetOption, SetOption Methods
KeyboardLanguage Property
LabelAlign, TextAlign Properties
LabelX, LabelY Properties
Month Function
NumeralShapes Property
Orientation Property
ReadingOrder Property
ScrollBarAlign Property
TransferText Action/Method
Weekday Function
Year Function

For development of sophisticated right-to-left applications, you might want to take advantage of the numerous Microsoft Windows operating system application programming interfaces (APIs) that have right-to-left settings. For more information, you can go to the Microsoft Office Web site.

Note The hyperlink in this topic goes to the Web. You can switch back to Help at any time.