Creating a new copy of the form is not finding existing form

Hi,

i have created a general lotus notes application which has some forms as well.

A view called “((All docs)” , when i refresh this view , it shows list of all the forms in this application.

Now, I am creating a new copy of the application and copying only the design. with in copied application when i refresh the view it does not show any form.

Thats why even when i run my code

Dim session As New NotesSession

Dim db As NotesDatabase

Dim agent As NotesAgent	

Set db = session.CurrentDatabase

Set view = db.GetView("(All Docs)")	

Set configDoc = view.GetDocumentByKey("Config")

i tried checking view.EntryCount is coming out to zero.

Please suggest what can be the reason for this? i know i am missing something while making a new copy.

Thanks

Nitin

Subject: creating a new copy of the form is not finding existing form

You’ve only copied the design. Views show DATA documents, not design documents (by default), so until you create documents that use the forms, there won’t be anything to see in the view.

Subject: RE: creating a new copy of the form is not finding existing form

Thanks for your reply Stan.i will work on this.