lotus notes export a complete list of fields

30 pts.
Tags:
Lotus Notes
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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”

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Benaw
    What version of notes are you using?
    0 pointsBadges:
    report
  • Benaw
    i'd really like to get all fields from the database not just one form
    30 pointsBadges:
    report
  • Benaw
    i'm using notes 7.0
    30 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following