June 8, 200916 yr I used to create related records in scripts by recreating what a user does - ie going to the last row and entering data. It's always thrown up problems from time to time. Then I started using this, from Comment: Go to Layout [ Child ] New Record[] Set Field [ Child::ParentID ; Get ( ScriptParameter ) ... The button on the Parent layout should be defined to call the script with the parameter Parent::ParentID. But this leaves you with the problem of recreating the state of the screen you left, eg putting all the tabs back as they were. Does anybody have a solution that is the best of all worlds: simple, not dependent on layout features, IWP consistent, persists the state of the layout the user is on?
June 8, 200916 yr You could open a new window, do the thing, then close it. Not sure about IWP, though.
Create an account or sign in to comment