how can i copy an active form fields to another form fields and paste it from the another form fields
Subject: RE: copying fields forms to another forms fields and paste it
I don’t understand whether you’re editing a form in Domino Designer or a document in the client. If the former, select all, copy, paste. If the latter, do it one field at a time.
Subject: copying fields forms to another forms fields and paste it
no i want a code for copying a field from other form field and i when i click the form when i copy i see the field for example field1 = test i want to see the test in other form of the field which is the field name is ready of the form2 so i can see like these:
form1 fieldname = test
form2 fieldname = test
for example the user input from a field is “test”.
Subject: RE: copying fields forms to another forms fields and paste it
You have some data in one document, and you want code to copy the data to another document, using the same item names in the other document.
It’s easy to copy the items over using CopyAllItems, or a statement of the form:
docTo.ReplaceItemValue “itemName”, docFrom.GetItemValue(“itemName”)
But you’ve said nothing about where these documents come from or what you want to do with them, or whether you want to copy all the fields or only certain fields, and what you want to do with them afterwards. Generally the tricky part is not copying the fields – it’s finding the document to copy to and managing the UI.