‎2005 Jun 03 8:34 AM
Hello,
i need to create two pages for my smartform. I have successfully created page one. Now i need a second page with is similar to page one. So i copied the page one (FIRST) to my second page (NEXT).
Problem: This copy seems to be a copy by reference.
All the time i make changes on page two, page one is affected. How can i destroy the reference or what do i have to consider if i copy pages within smartforms?
Regards,
Christian
‎2005 Jun 03 11:01 AM
If you make your changes in the MAIN window (it has type 'MAIN') then your changes will affect all pages where this window is present. This works as designed.
‎2005 Jun 03 11:01 AM
If you make your changes in the MAIN window (it has type 'MAIN') then your changes will affect all pages where this window is present. This works as designed.
‎2005 Jun 03 12:03 PM
Hi,
When a page is copied the main window will have the reference on the copied page. Except for main window you can individually make changes to all other windows that you create.
Just in case you dont want this reference, you can do this. (might sound silly. but works effectively)
1. Right click on the main window of the copied page and Cut it. (now its copied to the clipboard)
2. Now change the main window name (or any other small change) in the first page.
3. Now again paste your main window back in the copied page.
Now the reference wont be there anymore.
Regards,
Vijay
‎2005 Jun 03 12:09 PM
I know that there can only be one main window in the smartform.
I have the problems that all objects are referenced even in the other windows!
I will try Vijayakrishnan's solution...
‎2005 Jun 03 3:13 PM
This is default behaviour in SmartForms.
Change in windows that hava the same names in different pages affects all pages.
If you want to copy page and have separate windows you have to change their names.