You cannot change an EditForm object for a list to point to a specified file in FrontPage 2003 (822182)



The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft Windows SharePoint Services

SYMPTOMS

In Windows SharePoint Services, when you try to change the EditForm object for a list to point to a specified file, the Edit Form file does not change.

In the following example, when your run a macro that is similar to the following, you expect the EditForm object to point to the EditTest.aspx file:

Sub ListPaths()
ActiveWeb.RootFolder.Files.Add "EditTest.aspx", True
ActiveWeb.Lists(0).EditForm = "EditTest.aspx"
ActiveWeb.Lists(0).ApplyChanges
End Sub


However, in FrontPage 2003, when you right-click the modified list, click Properties, and then click the Supported Files tab, the file that the EditForm object points to does not change.

CAUSE

This behavior occurs because you cannot designate the EditForm object to point to an arbitrary Web page. When you try to change the Edit Form, New Form, or Display Form files, you can only specify a page that actually contains a form of the appropriate type for the list in question.

The page specified must contain a zone control, and there must be a webpart in the zone control that corresponds to an existing database type, to be able to specify New Form, Edit Form, or Display Form parameters. There must be a webpart of the appropriate type that corresponds to the page in question.

STATUS

This behavior is by design.

Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kbProgramming kbwebpublishing kbprb KB822182 kbAudEndUser