ACC97: Queries Exported to HTX/IDC Appear with Different FormatLast reviewed: September 25, 1997Article ID: Q163181 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you export a table or query to the HTX/IDC web format, some of the fields' data formatting is lost. This will happen if any of the fields in the file you are exporting is formatted in one of the following data types:
CAUSEThe Format property of tables in Microsoft Access is used for display purposes only. When you export data from Microsoft Access, the actual data in the field is exported. Dollar signs ($), and percent symbols (%) are not exported. Date fields are exported as defined by the international settings on your computer. Yes/No fields are exported as -1 for Yes and 0 for No.
RESOLUTIONAs a workaround to this behavior, you can format the data in your columns using the Format() function as follows:
MORE INFORMATION
Steps to Reproduce Behavior
When you save a table, query, or a form datasheet as an Internet Database Connector file (IDC), Microsoft Access creates two files: an Internet Database Connector file and an HTML extension (HTX) file. These files are used to generate a Web page that displays current data from your database. NOTE: You can also save a table or query as an IDC/HTX file by using the "Publish to the Web" Wizard.
REFERENCESFor more information about the requirements needed for executing HTX/IDC files on a Web browser, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q160754 TITLE : Error "HTTP/1.0 403 Access Forbidden Browsing IDC Page |
Additional query words: kbinternet HTML IDC export primary key IIS PWS peer
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |