Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: furman76 on September 28, 2011, 01:49:21 am
-
Hi,
I'm trying to update a tagged value of "memo" type with some 300 bytes through automation interface, but get error
"DAO.Field [3163]
The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."
Therefore, 2 questions:
1) What is the maximum size of a tagged value?
2) Is it possible to access "memo" tagged values through API?
-
Seems you use tag.value instead of tag.notes?!
q.
-
Memo tagged values store the value in the Notes field of the tagged value. This is a memo type field; basically unlimited in length.
-
Yes. Another trick was that once taggedValue.Update() fails, apparently it can't be updated second time. I have to add new value to collection and put notes to it.