Newbies Kmpuz Posted September 8, 2008 Newbies Posted September 8, 2008 In one layout I create bank accounts. That information is copied into one new record from the main layout. In that main layout I have a portal with the names of the accounts. The relationship between those tables is marked "X", so every account appears on that portal. On the main layout I have another portal with the bank statement and balancefrom the transactions layout. The problem is when I want to navigate from the portal with the account names on it. Maybe is too basic, but I can't find a way to make it work with the "Go to related record". Any ideas of what I'm doing wrong? (or not doing right?) Thanks from Mexico
Vaughan Posted September 9, 2008 Posted September 9, 2008 It's probably working: look to see whether the record numbner is changing. What you might need to do is to GTRR then change to a layout that shows the account details.
Newbies Kmpuz Posted September 9, 2008 Author Newbies Posted September 9, 2008 In my script "Go to Related Record" Options, "Get related record from:" I use the table "AccNames", so far so good. I want to stay in the same layout, just change record. In "Show record using layout:" I have as an option , but it doesn't work. The name of the Layout doesn't appear as an option.
Vaughan Posted September 9, 2008 Posted September 9, 2008 Ok try this: have the status area showing. Go to the first record. Click on one of the portal rows. See if the record number has changed.
Newbies Kmpuz Posted September 9, 2008 Author Newbies Posted September 9, 2008 Nope... Every record has the name of the account an it doesn't change. I been trying all day long. Maybe is something in the relationship. The layout "Movimientos" is where the portals are. In "Cuentas" is where as now I create accounts. As they say, an image is worth a thousand words. Hope this example makes myself clear. Thanks in advance DineroA_Copy.fp7.zip
David Jondreau Posted September 9, 2008 Posted September 9, 2008 In the script step, Go To Current Record[], you need to specify the layout that needs to be shown. The default is the current layout, even if that layout is based on another table and can't access the data you're trying to navigate to. You should have been getting an error message along those lines.
Newbies Kmpuz Posted September 9, 2008 Author Newbies Posted September 9, 2008 I created a new field for accounts, a serial number starting from 1. Then placed that field in the portal making invisible the number and used the script "Go to Record/Request/Page". Now it works. Still I don't like the solution.
David Jondreau Posted September 10, 2008 Posted September 10, 2008 In the file you posted, all you need to do is specify the layout.
Newbies Kmpuz Posted September 10, 2008 Author Newbies Posted September 10, 2008 I tried, but I get a message telling me it can't get the layout.
David Jondreau Posted September 16, 2008 Posted September 16, 2008 That doesn't make sense. You shouldn't get any message at all. In the GTRR script step, you should have a list of layouts which are based on the table you're navigating to. The layout is there or it isn't and if it isn't, you're mistaken about the table you want to go to.
Recommended Posts
This topic is 5912 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