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

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

Recommended Posts

Posted

how can i duplicate the records that is inside a portal?

for example, i have 4 tables. the first one is transactions, with fields: recID(autoenter serial), name, date, amount. 2nd one is transItems, with fields: recID(autoenter serial), transID, item, qty. 3rd is duplicates, with fields same as transactions. and 4th is dupItems, with fields: recID(autoenter serial), dupID, item, qty.

transactions::recID is linked to transItems::transID

transactions::recID is linked to duplicates::recID

duplicates::recID is linked to dupItems::dupID

now in the main layout, im showing the fields for transactions (recID, name, date, amount) with a portal showing the related records from transItems. also in another layout that works exactly the same as in main(let's call this main2), except that it is for the duplicates table.

now there is a button named "duplicate" in the main layout. it must duplicate the current record including the portal items in the main2 layout.

if my explanation is not clear, ive attached an exercise file that ive been testing on.

thanks alot!

Exercise1.zip

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