Hi,
Usally I use a field name syntax like UserNamesNA for Name fields, KeywordsTX for Text fields or PriceNU for Numbers etc.
Some field names are reserved within Lotus Notes - e.g. SaveOptions, Category etc.
So, is Subject also a reserved field name and where can I find a
complete list of reserved fields?
Thank you in advance
ingo
Subject: Is Subject a reserved field name like SaveOptions etc.?
in designer help search for Reserved fields
Subject: RE: Is Subject a reserved field name like SaveOptions etc.?
Thanks, I tried this, but in my opinion there many documents with lists of reserved fields, but overall
incomplete - e.g. Categories…
Subject: Is Subject a reserved field name like SaveOptions etc.?
“Subject” is kinda-sorta “reserved” in the sense of its mail functionality – sending and receiving externally won’t work properly if you change the field name in the mail template, and sending documents from “normal” databases to mail will leave the subject line blank in the mail views/folders if you don’t use “Subject” as the fieldname for the subject field.
Apart from the mail control fields (and calendaring fields like StartDate, EndDate, StartTime, EndTime, and so on), the list of reserved fields is pretty small when you eliminate the dollar-sign fields. SaveOptions and MailOptions are the ones most likely to cause problems because they have obvious side-effects.
That’s not to say that I approve of the suffixes – they will lie through their teeth, since the fields are typed by their content. A descriptive name should be a good enough hint as to the expected type without implying that anything is type-safe.
Subject: RE: Is Subject a reserved field name like SaveOptions etc.?
Thanks, Mr Rogers, and all the others…
I understand your mistrust about field name suffixes.
You are right, naming a field properly does not make it ‘type-safe’.
Anyway, beside the reserved field names limitation and the possibility of wrong field names, especially after code changes, I made some good expierences using them.
I will play around with the subject field.
Thank you,
Regards
ingo
Subject: *No, it is not. It is frequently used, of course, but not reserved.