ACC97: Can't View Expressions in Forms Exported to IDC or ASPID: Q165193
|
Moderate: 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.
Microsoft Access does not preserve expressions on forms in HTX/IDC or ASP format.
Do 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.
=[FirstName] & " " & [LastName]
Additional query words: blank empty
Keywords : kbinterop IntAsp
Version : 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 22, 1999