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

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

Recommended Posts

Posted

Is it possible to add a new record to a table without a layout?

One way I know to add a new record is using script steps like:

Go to Layout

New Record/Request

Set Field...

I have a many to many relationship with a connecting table. I don't want to create a layout for the connecting table, but still want to add a new record to the connecting table.

Thanks

Posted

Hi,

Have you tried "Allow creation of records in this table via this relationship" option in the "Edit relationship?"

Posted

Hi again,

I have a many to many relationship with a connecting table. I don't want to create a layout for the connecting table, but [color:blue]still want to add a new record to the connecting table.

Based on your first question, I thought you want to add new record to related table (connecting table), so I suggested about that relationship. As far as I know, you cannot add new records to unrelated table without its' layout. Maybe other FM guru can help you out in this issue if there's any method ;]

Posted

If it's unrelated, then what is it connecting?

Do you have a layout for some Table Occurrence of this table, but just not this particular TO? If so, that's doable, any layout based on a TO of the table will do.

Set Variable( $id ; parent ID )

Go to Layout

New Record/Request

Set Field( parent ID ; $id )

Posted (edited)

Let me make this clear. This is my simplified database structure:

Three tables:

Table_A

-------

A_ID

Table A_B

----------

A_ID

B_ID

Table_B

-------

B_ID

And relationship is (a common many to many relationship):

Table_A::A_ID--->Table_A_B::A_ID

Table_A_B:B_ID<----Table_B::_ID

In another separate layout, when the user specify A_ID and B_ID, a new record will be created in table A_B

Edited by Guest

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