Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: furman76 on September 28, 2011, 01:49:21 am

Title: Memo tagged values
Post 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?
Title: Re: Memo tagged values
Post by: qwerty on September 28, 2011, 08:00:16 am
Seems you use tag.value instead of tag.notes?!

q.
Title: Re: Memo tagged values
Post by: fwoolz on September 28, 2011, 01:39:58 pm
Memo tagged values store the value in the Notes field of the tagged value. This is a memo type field; basically unlimited in length.
Title: Re: Memo tagged values
Post by: furman76 on September 28, 2011, 06:10:40 pm
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.