FranciscoMtz Posted August 27, 2013 Posted August 27, 2013 Sorry if "Portals" is not the correct forum for this question (For some users, that's better important than help us) maybe belongs to Scripts I have a layout with some portals to calculate a Statement, and I want to have scripts to add new portal row to an especific portal. The original layout is named "Enterprise" The portals shows info from "Statement" Table This is the script for the "Sales" Portal on "Enterprise" layout: Set variable [$StatementID; Value Enterprise::Statement_ID] Go to Layout ["Statement" (Statement)] New Record/Request Go to Layout (Original) Go to portal row [Last] Set Field [statement::id_edo_result; $StatementID] it works, but not so well, starts from "date" field if I make another script for "Costs" Portal with "Costs" field, it returns a new portal for the "Sales" Portal how can I to do it for each one ? This is the file, I can't attach it https://www.dropbox.com/s/okceur6b6cdl6ua/Estado-Resultados%20%28copia%29.fp7.rar?m
Lee Smith Posted August 27, 2013 Posted August 27, 2013 Please post your file here. If there is a reason you can't post the file other than not knowing how, contact me by Private Message. Otherwise, please just follow the steps listed here http://fmforums.com/forum/topic/88082-how-to-add-an-attachment-to-a-reply/
Fitch Posted August 27, 2013 Posted August 27, 2013 In the Inspector palette, give each portal an object name. In your script, use the Go to object( yourPortalName ) before the go to portal row step.
Recommended Posts
This topic is 4442 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