dbTalk Databases Forums  

Record cannot be modified error message

comp.databases.filemaker comp.databases.filemaker


Discuss Record cannot be modified error message in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
NScheffey
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 02:06 PM






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:
Quote:
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


Reply With Quote
  #12  
Old   
Roger Wilkerson
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 02:30 PM






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:
Quote:
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


Reply With Quote
  #13  
Old   
NScheffey
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 02:43 PM



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:
Quote:
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


Reply With Quote
  #14  
Old   
Roger Wilkerson
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 03:03 PM



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:
Quote:
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


Reply With Quote
  #15  
Old   
NScheffey
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 03:21 PM



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:
Quote:
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


Reply With Quote
  #16  
Old   
Roger Wilkerson
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 03:32 PM





On Jan 26, 1:21 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote:
Quote:
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.
But one works and the other doesn't.

I'll try your other suggestion belwo.
Quote:
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


Reply With Quote
  #17  
Old   
Roger Wilkerson
 
Posts: n/a

Default Re: Record cannot be modified error message - 01-26-2007 , 03:57 PM



you are correct about not being enough space. When I expanded the
dialog for the GTRR step, it shows it all. It is the same as the
statement when I create a script. But the script will not run, even on
an older entry that is alreay shown in the active portal. If I have
the "View " button run the script, it will do nothing. It will not go
to the related record.

If I have the "view" button Go To Related Record, it will.

The only difference is in the button action. One goes directly to the
related record, and the other will do nothing.

?????????

Roger

On Jan 26, 1:21 pm, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote:
Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.