Tore Posted June 7, 2004 Posted June 7, 2004 In FM7 clicking on a button in a portal performs a script where I want to Freeze Window then go to a related record in another file. The record actually being the one I'm clicking. But while in scriptmaker I insert GoToRelatedRecords, the right table and layout shows up for selection, however when I OK the input in script shows relation "unknown". I cannot check for the external layout 'cause it makes a new window pop up.
RalphL Posted June 7, 2004 Posted June 7, 2004 The script works but the script text says unknown. I think this is a known bug. I don't think it has been fixed in v2.
Tore Posted June 7, 2004 Author Posted June 7, 2004 Thanks! Looked like a bug yes, but do you have a workaround. What I want is to have two portals, the one I click has a list of the records in which I want to click. The second portal is going to have a new record created and values shall be looked up from the one I clicked. The latter as mentioned before being on another file.
RalphL Posted June 7, 2004 Posted June 7, 2004 I haven't have any problems with it not working. The script text is the only problem. Unless you are using a self relationship for the first portal you are going to be in a different layout and table. In either case I would use a global to store the serial number of the related record. Then call a script in the other file that would go to correct layout and table, create a new record, set a field to the global serial. This should trigger the lookups. Return to the original layout.
Recommended Posts
This topic is 7477 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