#204999 - 2012-04-28 08:28 AM
Re: trouble converting VB script using COM to kix
[Re: Lonkero]
|
Sam_B
Getting the hang of it
Registered: 2005-10-25
Posts: 68
Loc: Bern, Switzerland
|
Thanks to you all, I've found the solution for my problem in the meantime. Allens hint with the .value pushed me in the right direction. I found a a post of a user with the same problem:
http://www-10.lotus.com/ldd/nd6forum.nsf/0/d2aaeebd3c340f7f852572730069702c?OpenDocument
and the solution:
"Hi there,
i had the same problem and i was very near to kill somebody... But, in the last second, i found the solution:
The GetItemValue returns an array which seems not to be compatible with vbscript! Try this instead:
yourdoc.GetFirstItem("itemname").Text
sure, multivalue fields are not very funny, because the values are joined with ; to one string, but you will get some values back...
For me, its all i want :)"
GetFirstItem("itemname").Text works perfectly for me as well, thanks a lot to all of you taking care of my problem, this site is THE BEST source for posting such kind of problems, no doubt about it!
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 577 anonymous users online.
|
|
|