Jump to content
Sign in to follow this  

How to Create a New Record in a Portal?

Recommended Posts

I have a table related to its child,(that holds related data),the relation is built by auto generated serial(like usual)

The portal works all fine and always create a new records as its past on is filled.

But i want to create a button that creates new rows without being needed filling past records.

Will help alot in IWP!!!!!

Share this post

Link to post
Share on other sites

I'm not exactly sure what you mean, but one way to create a new related record is to grab the parent record's ID:

Set Variable( $id; ID )

... then go to a layout based on the child records; create a new record; and set the foreign key to the variable: 

Set Field( Parent ID ; $id )

... then go back to the original layout and you're done!

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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