ACC97: Can't View Expressions in Forms Exported to IDC or ASPLast reviewed: June 4, 1997Article ID: Q165193 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. If you create an HTX/IDC or ASP file from a form in Microsoft Access 97, when you open it in your Web browser you see empty fields in your IDC datasheet, or you see #Expression in one or more fields of your ASP form.
CAUSEMicrosoft Access does not preserve expressions on forms in HTX/IDC or ASP format.
RESOLUTIONDo not use expressions in a form control's ControlSource property on any form you want to view in HTX/IDC or ASP format. Instead, try to create a query that contains all of your expressions, base your form on that query, and then bind the controls on your form to the expressions in your query. Using this technique, your expressions will appear in the HTX/IDC or ASP file that you create. A disadvantage of using this method is that your expressions appear in text boxes on an ASP form, which makes them appear to be editable; however, any changes you make to an expression field on an ASP form will be dropped as soon as you commit and refresh the record. Also, Microsoft Access 97 does output expressions to files in HTML format. If you can use a static HTML format instead of the dynamic HTX/IDC or ASP file formats, consider saving your form as an HTML file as a workaround that will preserve the form's expressions.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: blank empty
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |