Jump to content

This topic is 5742 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

This topic is 5742 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.