Populating a field with another field results

How do I get a field to equal/get information from another field on the same form?
KenBoatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArunkumarCommented:
just have the second field computed and the value (formula) to have the first field name (without quotes).

As and when the document refreshes the second field will get the value from the first field.

The refreshing could be done automatically by setting form properties automatically refresh fields, or the first fields (if its a list then switch on the refresh fields on keywordchange etc)

Or the process is automatically carried by the save event of the form when its saved.

-Arun.
0
KenBoatAuthor Commented:
What would the value formula look like?
0
CRAKCommented:
If you have a field "A" (edit) and another field "B" (take's value of field "B") you could easily do so in edit mode:
for editable fields, use the translation formula area, for computed fields, use the value-area. In both cases, simply enter the fieldname, without quotes:
A

Both fields should have the same type definition: text, number or whatever. You can't inherit text into a number field....

If you want B to inherit A's value while NOT in edit mode, you'll need more code. Let us know if you do.
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

KenBoatAuthor Commented:
Yes, more code is exactly what I need.  I'm doing it this way because I have to create a SendTo field in order for my action button to work.  I already have a field called "doccontact" on a response document which is inherited from another document.  The recipients name is in the "doccontact field, but the action button will not work because its name is not SendTo.  I decided to create another field and call it SendTo and then inherit/copy the information from the doccontact field name.
0
ZvonkoSystems architectCommented:
Make your SendTo field computed and place this formula for the SendTo field value:
FIELD doccontact:=doccontact;
doccontact


Good luck,
Zvonko

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KenBoatAuthor Commented:
Thanks, I appreciate your help
0
ArunkumarCommented:
Zvonko!  do you think 300 with "A" is fair for this one ?

:-)
PS: I will email you something soon.
0
ZvonkoSystems architectCommented:
Do you think 500 is better!?! :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.