This topic is locked

View As Type Formatting for Edit Page Read Only Fields

9/17/2007 1:47:58 AM
ASPRunnerPro General questions
M
MikeB941 author

Hello:
I have some information fields from other tables that I use on my edit page as READ ONLY to help the user with the fields to be edited.
Specifically several of these are datetime fields. When I select READ ONLY for these fields on the edit page there are no options for formatting like VIEW AS and datetime fields wind up only displaying the date portion.
Is there a way to format these read only datetime fields on my edit page to display both the date and time?
Thanks so much for your help.
Take Care... Mike.

M
MikeB941 author 9/17/2007

Hello Again:
I'd also like to be able to use formatting like strtoupper on these read only fields...
Take Care... Mike.

Sergey Kornilov admin 9/17/2007

Mike,
I would recommend to use Insert ASP code snippet button and the following code:

Response.Write UCase(rs("FieldName"))