lotus notes export a complete list of fields
30 pts.
0
Q:
lotus notes export a complete list of fields
does anybody know how to generate a complete list of fields for a particular database?

I have heaps of fields and i'd like to print off the list for reference

ASKED: Oct 23 2009  0:40 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
40 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
From the Notes Help database (NotesForm class):
This script displays the names of all the fields on a form.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
formNameIn = Lcase(Inputbox("Name of form?"))
Forall form In db.Forms
If Lcase(form.Name) = formNameIn Then
If Isempty(form.Fields) Then
Messagebox form.Name & " has no fields"
Else
fieldCount = 0
msgString = ""
Forall field In form.Fields
fieldCount = fieldCount + 1
msgString = msgString & Chr(10) & _
" " & field
End Forall
Messagebox form.Name & " has " & _
fieldCount & _
" field(s):" & Chr(10) & msgString
End If
Exit Sub
End If
End Forall
Messagebox "The form """ & formNameIn & """ does not exist"
Last Answered: Oct 23 2009  6:33 PM GMT by Kcarver   40 pts.
Latest Contributors: Abushahd   1520 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

admin   0 pts.  |   Oct 23 2009  1:03AM GMT

What version of notes are you using?

 

Benaw   30 pts.  |   Oct 27 2009  10:25PM GMT

i’d really like to get all fields from the database not just one form

 

Benaw   30 pts.  |   Oct 27 2009  10:37PM GMT

i’m using notes 7.0

 
0