June 25, 200916 yr Hello guys, I'm writing a script and I need to go to a specific record but I don't know how to make it works. Basically the script receives as parameters 2 values ( Doc::Prg and Annex::Code), it performs a find using Doc::Prg (the find contains the annex record having the passed code) and after that I would like to go to that record. Is there a way to achieve that? Thanks and have a nice day!
June 25, 200916 yr In your script, first go to the layout that will be your destination. Then enter Find Mode. Next, Set the search fields with the parameters you have passed. Finally, Perform the find. Or am I missing something? David
June 25, 200916 yr Author Thanks David for your reply. In the way you say I will get only 1 record. However I want to get a subset of records (all the annexes related to the document I pass as a first parameter) and after going to the specific record. In this way I can move through all the other annexes on browse mode. Hope now my goal is more clear. Thanks again and have a nice day!
June 25, 200916 yr If you place a portal of Annexes on the layout of Documents with a button defined to Go to Related Record [show related only], it will do exactly what you describe.
June 25, 200916 yr Author I already have a portal of annexes on my document layout with a button on each row. I'm going to try what you say. Thank and have a nice day
Create an account or sign in to comment