Link to home
Start Free TrialLog in
Avatar of magnex
magnex

asked on

doc.fieldname problem

hello experts,
I've a litttle question
I'm writing a lotusscript code, but I've a little problem
Here's an example
' this is oke
fieldname = doc.month(0) 'example may
....
'here goes it wrongs
doc.fieldname = .................

if I write doc.fieldname he's looking in the document to a field called fieldname, but he need to look to a field doc.may because fieldname has the value may
How can I do that ?
doc. + fieldname doesn't work
ASKER CERTIFIED SOLUTION
Avatar of zvonko
zvonko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Arunkumar
Arunkumar

This doc.Fieldname = Value works something like this....

if there is a fieldname already in the document then it replaces the value, if there is no field in the document then it creates a new field and puts your value in it.

Hope it helps!
Avatar of magnex

ASKER

Thanks for the quick answer
Thanks for the points Magnex :-)

to Arun: Bro, check my view SELECT formula...