I am experiencing some strange issues using the GetFieldType method of NotesForm.On some forms, it is not returning the correct value.
For example, for a particular text field it is returning 1025 instead of the correct value of 1024, and this is applying to other types as well.
Does the value returned differ depending on if the field is Editable or Computed ? Can anyone explain why the anomalous values are being returned?
Thanks,
Subject: See if the difference is that multiple items are allowed for that field.
For example, a Text List instead of a Text value because Multiple values are allowed.
Subject: RE: See if the difference is that multiple items are allowed for that field.
I thought of that…no good. There are multivalue fields that return the correct value and single value fields that do not, as well as single value fields that do.
Subject: GetFieldType method
I am having the same trouble with GetFieldType not returning the proper values. I plan to report problem to IBM.
Subject: GetFieldType method
Lotus Support have got back to me about this and stated that the GetFieldType return number is incremented by 1 if it is a multi-value field. Pity this wasn’t included in the Help…
hcl-bot
September 29, 2004, 12:56pm
6
Subject: Then what about Readers, Authors fields???
They have types 1074,1075,1076. So if you have a multi-value Names field, it would be type 1075, which is supposed to be a Readers field.
For me it doesn’t really matter, because I can get it to return the proper data type for Name, Readers, and Author fields. I always get 1280 (Text).
Subject: RE: Then what about Readers, Authors fields???
Hello,
I have exactly the same problem. Wishful thinking perhaps, however, did you manage to find a solution?
I am getting more and more annoyed with the fact that Notes doesn’t always do what the help guide says it will.
Thanks in advance for any help you can offer.