This topic is locked

Multiple Joining

9/9/2004 9:10:18 PM
ASPRunnerPro General questions
P
pelurusilver author

Hi, I'm just thinking how to edit the data with a new field and at the same time I can view the old data. Exp
When edit, it seems like i can make a new data without erasing the old one
Existing Field

Address1

xxxxxxxxxxxx

xxxxxxxxxxxx

xxxxxxxxxxxx
Editable Filed

Address2





_____
and how to make it multiple editable page.
Exp link
Edit Address Edit Name Edit Contact Edit... Edit....

Sergey Kornilov admin 9/13/2004

Hi,
you can modify ..._edit.asp page for this purpose to display current field content. Please see my changes in bold. This code snippet applys to ASPRunnerPro 3.1 beta however you can use the same idea in any other version.

if bUpdatable then

**Â Â Response.Write Label(sFieldName) & ": " & HTMLEncode(strValue) & "

"Â Â Â **Â Â

   Response.Write BuildEditControl(rs.Fields(sFieldName), strValue, GetEditFormat(sFieldName), sMode)


I hope this helps.
PS. Creating multiple edit pages is not possible with ASPRunner.