tashsmith
asked on
Lotus Script: Modifying "Call destdoc.replaceitemvalue" to include specified number of characters
Hi ,
I have a script that takes fields and values from one database and creates a document and populates fields in another.
The problem is this....
One field contains a large amount of text and I wish that only the first 200 characters be sent to the destination document.
The section of the script is below
Call destdoc.replaceitemvalue(" ContentSum mary", sourcedoc.Article)
so in brief I want 'ContentSummary' to be only the first 200 characters of 'Article'.
Can anyone help?
cheers
I have a script that takes fields and values from one database and creates a document and populates fields in another.
The problem is this....
One field contains a large amount of text and I wish that only the first 200 characters be sent to the destination document.
The section of the script is below
Call destdoc.replaceitemvalue("
so in brief I want 'ContentSummary' to be only the first 200 characters of 'Article'.
Can anyone help?
cheers
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
hey hey hey, abstract in notesitem... I didn't know that ... although @abstract crossed my mind :-)
ASKER
Ahh thanks guys, this has worked a treat
:(
Tash , you could have shared the points between us. I think you can ask a moderator to split the points between the experts for this question ...
Hi Tom,
Could have, but, if your method was used, there's no need because you earned the points fair and square. On the other hand...
Could have, but, if your method was used, there's no need because you earned the points fair and square. On the other hand...
ASKER
I wondered about that, newbie to this, sorry no offence intented,
tash
tash
Anyway, if Stef doesn't mind, I don't mind either :-)
But splitting the points is fairer to all people who helped reach an answer .
cheers,
Tom
But splitting the points is fairer to all people who helped reach an answer .
cheers,
Tom
ASKER
fine by me, how do I do it?
ive looked all over the site, so far no clues
ive looked all over the site, so far no clues
You'd have to post a question in the Community Support section, asking to reopen this question for you. They'll reopen it for you, so you can redistribute points.
ASKER
can u provide a url, i really cannot see how and where to do this, soz
In Experts Exchange, at the top-righthand corner, there is a link called Support. Just click it.
Call destdoc.replaceitemvalue("
You can even drop vowels (2nd parameter) or use a dictionary of abbreviations (3rd).