Update a Form-field with value's from another form

I've got a form  where users register there working hours. In another form I need to update an field depending the value from the register form.

HeManAsked:
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.

Micke_CapCommented:
I need more info!
Is the second form a response document from register or is it a totaly seperet form? The ansver are totaly different depending on just that.
0
HeManAuthor Commented:
Its a totaly seperet form. On this form the users keeps track off their overall information.
0
ArunkumarCommented:
Hi Heman !

Create a view for the second form with the key value sorted in the first column.

When the first form is being saved, in the query save event take the key fields and make a lookup for the second document from the view you have created.  Take the handle of the document and update the fields that you want to update.

If you dont have the handle for the second document then create the second document with what ever values you wanted it with.

Good Luck !

-Arun
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
HeManAuthor Commented:
Hi Arun

I've got one last question.
I'm a starting programmer in LN, can you tell me if I can solve this with @commands or do I need to write in in script ?
0
ArunkumarCommented:
Well,

If you have a handle for the document that you want to update you can do it with @Functions.
But if you are going to create a new document then you should go for LScript.

Good Luck !

-Arun
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.