June 17, 200817 yr I always get the message: "Record cannot be modified in this window because it is already being modified in another window" Is there a way to go around this one? Any magic fix? Cheers Greg
June 17, 200817 yr Author File is currently single machine only. The message is appearing when I try to edit a line item in another window. Same record is still active in the 'old' window. How can I make the record 'inactive' while I edit it in the new window to avoid the message.
June 17, 200817 yr Begin your new window script with a Commit Records/Requests before you execute 'new window' step. :wink2:
June 17, 200817 yr Author I tried that, (it keeps the message away) but it loses the 'focus' to the selected record in the 'old' window. The changes in the are written into the first record of the line items in the 'old window' not into the related record.
June 17, 200817 yr I did not understand your second sentence at all. But regardless, the answer is to solve your 'loss of focus issue' and not diminish the importance of committing when you open a new window. It is important to pull your cursor up behind you. Depending upon when and how you lose focus, there are many solutions. We would need a specific example in a logical sentence to answer appropriately. LaRetta
June 18, 200817 yr Author Sorry. I cut some text by mistake. From the original window with multiple line items in a portal, I execute a script (from a line item) to open a new window with that line item. I edit the line item and close the window to get back to the original window. When I have the commit step within the script, the changes to the line items are set to the 'first' record in the original window, not to the related record. Without the commit step I get the error message.
June 18, 200817 yr I am guessing there is a button in the portal that does GTRR [New Window] for detailed editing of the child record. When the edit window is closed, you expect to get back to the original portal row. So: Commit Records/Requests Go to Portal Row [ Get ( ScriptParameter ) ] Go to Related Record [ From table: "Child"; New window ] The script parameter here is Get (PortalRowNumber).
Create an account or sign in to comment