![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#12
| |||
| |||
|
|
Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#13
| |||
| |||
|
|
If I make a script to "Commit records" then GTRR" and attach it to the view button, when I run the button, the GTRR record does not come up. The active portal is still there. As far as that goes, if I just make a script of GTRR and attach it to the button, same thing happens. It does not go to the related record. However, If I give the view button action using just the GTRR script step, it will open the related reocrd. Roger On Jan 26, 12:06 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#14
| |||
| |||
|
|
Hmmm, I'm not sure how that could be. You are saying a one-step script that performs the GTRR with all the correct settings doesn't work, while attaching the GTRR Script Step directly to the button does? Shouldn't these be the same thing? Make sure the settings in the GTRR Script Step in the script are correct. Nate On Jan 26, 3:30 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: If I make a script to "Commit records" then GTRR" and attach it to the view button, when I run the button, the GTRR record does not come up. The active portal is still there. As far as that goes, if I just make a script of GTRR and attach it to the button, same thing happens. It does not go to the related record. However, If I give the view button action using just the GTRR script step, it will open the related reocrd. Roger On Jan 26, 12:06 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#15
| |||
| |||
|
|
Yes, If I right click on the "view" button and give it a button setup of GTRR, here is what the commandline looks like: Go To Related Record [From table: "Contacts"; External; Using layout: "Short_Input the button will send me to the appropriate layout in the contact table. If I create a script like this: SCript name: Go_To_Record Go to Related Record [From table: "Contacts"; External; Using layout: "Short_Input" (Contacts)] Will not work. I also see the difference in the two script steps. If I just attach the button action to the GTRR script step it stops after Short_Input with an ", I noticed that it doesn't even add the ] to close it. Where as when I make a script, it adds (Contacts} and the ] to close the command. What gives? Roger On Jan 26, 12:43 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Hmmm, I'm not sure how that could be. You are saying a one-step script that performs the GTRR with all the correct settings doesn't work, while attaching the GTRR Script Step directly to the button does? Shouldn't these be the same thing? Make sure the settings in the GTRR Script Step in the script are correct. Nate On Jan 26, 3:30 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: If I make a script to "Commit records" then GTRR" and attach it to the view button, when I run the button, the GTRR record does not come up. The active portal is still there. As far as that goes, if I just make a script of GTRR and attach it to the button, same thing happens. It does not go to the related record. However, If I give the view button action using just the GTRR script step, it will open the related reocrd. Roger On Jan 26, 12:06 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#16
| |||
| |||
|
|
I think the difference there is just caused by there not being enough room in the Button Setup dialog to show the total step. Fundamentally it should be the same. |
|
Try this, change the option in the GTRR Script Step in your Go_To_Record script to Show in New Window, and make sure you have the Commit Records step happening before that. On Jan 26, 4:03 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Yes, If I right click on the "view" button and give it a button setup of GTRR, here is what the commandline looks like: Go To Related Record [From table: "Contacts"; External; Using layout: "Short_Input the button will send me to the appropriate layout in the contact table. If I create a script like this: SCript name: Go_To_Record Go to Related Record [From table: "Contacts"; External; Using layout: "Short_Input" (Contacts)] Will not work. I also see the difference in the two script steps. If I just attach the button action to the GTRR script step it stops after Short_Input with an ", I noticed that it doesn't even add the ] to close it. Where as when I make a script, it adds (Contacts} and the ] to close the command. What gives? Roger On Jan 26, 12:43 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Hmmm, I'm not sure how that could be. You are saying a one-step script that performs the GTRR with all the correct settings doesn't work, while attaching the GTRR Script Step directly to the button does? Shouldn't these be the same thing? Make sure the settings in the GTRR Script Step in the script are correct. Nate On Jan 26, 3:30 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: If I make a script to "Commit records" then GTRR" and attach it to the view button, when I run the button, the GTRR record does not come up. The active portal is still there. As far as that goes, if I just make a script of GTRR and attach it to the button, same thing happens. It does not go to the related record. However, If I give the view button action using just the GTRR script step, it will open the related reocrd. Roger On Jan 26, 12:06 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
#17
| |||
| |||
|
|
I think the difference there is just caused by there not being enough room in the Button Setup dialog to show the total step. Fundamentally it should be the same. Try this, change the option in the GTRR Script Step in your Go_To_Record script to Show in New Window, and make sure you have the Commit Records step happening before that. On Jan 26, 4:03 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Yes, If I right click on the "view" button and give it a button setup of GTRR, here is what the commandline looks like: Go To Related Record [From table: "Contacts"; External; Using layout: "Short_Input the button will send me to the appropriate layout in the contact table. If I create a script like this: SCript name: Go_To_Record Go to Related Record [From table: "Contacts"; External; Using layout: "Short_Input" (Contacts)] Will not work. I also see the difference in the two script steps. If I just attach the button action to the GTRR script step it stops after Short_Input with an ", I noticed that it doesn't even add the ] to close it. Where as when I make a script, it adds (Contacts} and the ] to close the command. What gives? Roger On Jan 26, 12:43 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Hmmm, I'm not sure how that could be. You are saying a one-step script that performs the GTRR with all the correct settings doesn't work, while attaching the GTRR Script Step directly to the button does? Shouldn't these be the same thing? Make sure the settings in the GTRR Script Step in the script are correct. Nate On Jan 26, 3:30 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: If I make a script to "Commit records" then GTRR" and attach it to the view button, when I run the button, the GTRR record does not come up. The active portal is still there. As far as that goes, if I just make a script of GTRR and attach it to the button, same thing happens. It does not go to the related record. However, If I give the view button action using just the GTRR script step, it will open the related reocrd. Roger On Jan 26, 12:06 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Try making a script that Commits reocrds and then does the GTRR step and attaching that to the button and let me know how it turns out. Nate On Jan 26, 2:54 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Correction, I added the commit step in from of the GTRR. I have not tried it with a scirpt to GTRR. Roger On Jan 26, 11:44 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Let me make sure I understand this correctly. Originally you had the "View" button set to "Go to Related Record" in the button setup dialog, correct? Now you have made a script that uses the Go To Related Record script step with the same settings as you previously had in the original button, correct? And you changed the button setup to Perform Script["WhateverYourScriptIsNamed"], correct? Let me know if I am right about this so far. On Jan 26, 2:35 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Doesn't work. Nothing happens. This same button is called "View" with just the GTRR script and I use it to go to a specific record to either view or edit/add additional info. However, when I changed it to use the script; it does nothing. Will not even GTRR. What am I missing? Roger On Jan 26, 11:00 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Try changing the button to execute a script, let's call it GoToContact. The script will contain two steps: Commit Records and then Go to Related Record with whatever settings you originally had. See if that solves your problem. As a side note, it can cause problems down the line to have "single-step" buttons. Makes it hard to change their functionality in the future and can lead to headaches. My recommendation would be to have every button execute a script, even if it's a one step script. That way if you ever need to change the functionality of something you just change it at the script level rather than having to change every button. Just my $.02. Nate On Jan 26, 1:44 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: No I haven't. I was reading about that last night in the script documentation. I'm not using a script per se. I have a button set up that uses the script command of GTRR. thx, Roger On Jan 26, 10:35 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: Roger- Have you tried adding a "Commit Records" Step to the beginning of the script that takes you to the related record when you click the button? Nate On Jan 26, 12:43 pm, "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com wrote: Matt, thanks for the reply. I do not have "show in new window" checked. I am using GTRR. The only option checked is the "use external tables layouts". The contact file is an external table to the company. Any other suggestions? Roger On Jan 26, 9:14 am, Matt Wills <I... (AT) witz (DOT) end> wrote: The operative issue is "different window." Assuming you're using "Go To Related Record" to finish your input, there's an option in the script step to "show in new window." Unchecking that option should solve the problem. Matt On 01/26/2007 11:57:35 "Roger Wilkerson" <roger.wilker... (AT) gmail (DOT) com> wrote: I have a company file with a portal of contacts from my contact file that are tied to that company via company number. The portal is set to allow entry of new records. In FMP 6, I would enter a name and title of a new record entry(to include email and phone numbers). I would then use the button to GTRR to finish inputing info that I had. No problem. However, when I attempt to do the same thing in 8.5, I get the following error message: "This record cannot be modified in this window because it is already being modified in a different window." All I've done is enter new record starting in the portal, then clicking on the button that takes me to the record to complete the input. The only way to get out of this is to go back and close the company record with portal. Any ideas why I can't do this as I did in fmp 6? and how to correct it? Roger |
![]() |
| Thread Tools | |
| Display Modes | |
| |