MacSig Posted June 25, 2009 Posted June 25, 2009 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!
T-Square Posted June 25, 2009 Posted June 25, 2009 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
MacSig Posted June 25, 2009 Author Posted June 25, 2009 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!
comment Posted June 25, 2009 Posted June 25, 2009 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.
MacSig Posted June 25, 2009 Author Posted June 25, 2009 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
MacSig Posted June 25, 2009 Author Posted June 25, 2009 It works just fine. Thanks again and have a good 1
Recommended Posts
This topic is 5630 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