July 17, 200322 yr Newbies hey i'm just wondering how i would go about copying data from a specific row in a portal that the user clicks on. Right now i have the portal set up and all the relationships are correct. On each portal row there is a button that runs a script to copy the fields contents and then go to another file and paste those contents into another field. The thing is it doesnt just copy one field, but copies 'field1' and performs external script (which tells it to paste into that files field), copies 'field2' and performs another script (telling it to paste that into a different field from the same file as before). This has about..4 repitions. The problem i have encountered is that it always copies the first field you specify in the first script step, but the later script steps telling it to copy 'field2' and 'field3' only copies the field values from the first portal row. Does this make any sense? To summarise: the user clicks a portal row and all that data in that row is transfered to another file (the data in the row consist of 4 fields, i.e. copy+paste 4 times). How can i do that?
July 17, 200322 yr Author Newbies opps sorry about that. i found out the answer from this useful thread: http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB11&Number=56905&Forum=UBB11&Words=copying&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=56905&Search=true#Post56905 i now use SetField instead of copy+paste
Create an account or sign in to comment