viandante Posted June 18, 2009 Posted June 18, 2009 Hi all, I am creating a portal and from that portal I want to populate records of another table. I am doing this with set variable and set field. The problem is that if I click more than once the button on the portal row, the script create duplicate records. Ideas to avoid this duplication?
mr_vodka Posted June 18, 2009 Posted June 18, 2009 you could perform a check to see if the record exists first with a find as part of your script...
viandante Posted June 22, 2009 Author Posted June 22, 2009 Thanks, can you give an example? I am actually doing this with a loop function. The problem I have is that after the loop I end up on the last record, not on the current onne. I am also trying with: set variable [$ITEM; field] Go to find mode set field [field;$ITEM] perform find if [field<>""] Exit script Does not work...
mr_vodka Posted June 22, 2009 Posted June 22, 2009 A Loop? Okay before we get into a specific solution, please explain what the purpose is here... First you state that you have a button on a portal row that creates another record in separate table ( which I dont quite follow why to begin with). Then you now state that you need a loop.
Recommended Posts
This topic is 5690 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 accountSign in
Already have an account? Sign in here.
Sign In Now