May 23, 200520 yr Hey guys/gals, I want to have a button called "Test Code 133" that once I press it, it will trigger a script to populate the portal (in one row) on the same layout with the relevant related information for the actual Test 133. Can someone please help me get started with this script!? Thanks in advance! J
May 24, 200520 yr J, Are you wanting to display the Test 133 results that are in another table or create a new record in the portal with the Test 133 results? If you want to create a new record where are the results to be imported from? I'm guessing that you will want the script to: set field (Parent::TestID , "133") Build the relationship between the parrent and child tables: TestID = TestRsltsID The TestID field should not need to be on the layout for this to work. The data "133" can be a calculation as well if you will require the button to show different records in different sircumstances. Or alternatively you could remove the button all together and simply format TestID with the correct calculation. I'm not sure if I have answered your question. If you were more specific about what you are trying to achieve I may be able to help further.
Create an account or sign in to comment