Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Greetings folks!

I've got two tabs set up, each containing fields from two separate tables. I've placed a button on each tab and have assigned the new record script to each button. When on "tab a", I want the new record button to enter a new record for the table represented on "tab a". When on "tab b", I want the new record to enter a new record for the table represented on "tab b".

However, when clicking the button on "tab b", it starts a new record on "tab a". Any idea how I can fix this?

Thanks in advance for your assistance!

- - Jeff

Posted

Is the layout's Show Records From setting the same as the table shown on Tab A (the one that works)? Unless you've set up scripts to specifically handle creates for the individual tables, then the record will be created for the table specified for the layout.

Posted

Yeppers. The layout is set to show records from the table represented in tab A.

How would I script creating records for a specific table...which seems what I will need to do in order to create record for the table represented in tab b?

Thanks for your insight!

- - Jeff

Posted

Have a script for the TabB create that does the following sequence:

Freeze Window

Go To Layout [ ]

New Record Request

Go To Layout [original layout]

In other words, you have to go to a layout that is based on your TabB table in order to create a record for that table, then return to your A/B layout.

This topic is 6666 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.