Author Topic: Memo tagged values  (Read 4241 times)

furman76

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Memo tagged values
« 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?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Memo tagged values
« Reply #1 on: September 28, 2011, 08:00:16 am »
Seems you use tag.value instead of tag.notes?!

q.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Memo tagged values
« Reply #2 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.
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


furman76

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Memo tagged values
« Reply #3 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.