Field not able to be selected for view column

I am trying to add a column to a view that shows the contents of a field in the primary form of a database.I can see the field exists on the form, and it shows in the list of objects for the form, but when I go to select the field in the programmer pane, the field is not listed.

If I try to reference it with a formula I get no results.

Anyone got any ideas as to why a field can be part-time invisible like that?

The field is one I added myself some time ago. It is a standard editable text field, and others ones I have added can be found correctly.

What am I doing wrong!!!

Apologies if this is a simple question, I’m a bit of a newby to programming, and this is my first post here.

Subject: Field not able to be selected for view column

Right click on a document that has the field. Find the field in the document properties. Does it have the SUMMARY flag? If not, that’s why it won’t show in the view. If you added the field, then ran an agent to add values to existing documents, this may have happened. You’ll need to run another agent (LotusScript) that gets the NotesItem and sets the SUMMARY flag.

Subject: RE: Field not able to be selected for view column

Goodness me that was quick!You are quick right, the FieldFlag is not set to anything.

All I need to now is to work out how to write a lotusScript agent to set the summary flag!!

What I don’t understand is how some of the fields I added are correctly set and others aren’t.

I did not run aything to populate the fields - thay are almost all manual addition fields at tiem of document creation.

Thanks again.

Cheers