spb Posted March 12, 2005 Author Posted March 12, 2005 (Using FM 6, multi-platform) This is one of those odd obvious questions that either has a simple answer, or is impossible. I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected." I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy. Is there any way to end this script at rest, with no fields selected? Steve Brown
spb Posted March 12, 2005 Posted March 12, 2005 (Using FM 6, multi-platform) This is one of those odd obvious questions that either has a simple answer, or is impossible. I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected." I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy. Is there any way to end this script at rest, with no fields selected? Steve Brown
spb Posted March 12, 2005 Author Posted March 12, 2005 (Using FM 6, multi-platform) This is one of those odd obvious questions that either has a simple answer, or is impossible. I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected." I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy. Is there any way to end this script at rest, with no fields selected? Steve Brown
spb Posted March 12, 2005 Author Posted March 12, 2005 Exactly! Works like a charm. I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded. thanks, Steve Brown
spb Posted March 12, 2005 Author Posted March 12, 2005 Exactly! Works like a charm. I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded. thanks, Steve Brown
spb Posted March 12, 2005 Author Posted March 12, 2005 Exactly! Works like a charm. I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded. thanks, Steve Brown
LaRetta Posted March 12, 2005 Posted March 12, 2005 Steve said ...I would have thought the "request" was for find mode. Script steps such as ... Exit Record/Request New Record/Request Duplicate Record/Request Delete Record/Request ... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode. The slash tells you it's a multi-purpose script step. LaRetta
LaRetta Posted March 12, 2005 Posted March 12, 2005 Steve said ...I would have thought the "request" was for find mode. Script steps such as ... Exit Record/Request New Record/Request Duplicate Record/Request Delete Record/Request ... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode. The slash tells you it's a multi-purpose script step. LaRetta
LaRetta Posted March 12, 2005 Posted March 12, 2005 Steve said ...I would have thought the "request" was for find mode. Script steps such as ... Exit Record/Request New Record/Request Duplicate Record/Request Delete Record/Request ... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode. The slash tells you it's a multi-purpose script step. LaRetta
Ted S Posted March 13, 2005 Posted March 13, 2005 Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.
Ted S Posted March 13, 2005 Posted March 13, 2005 Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.
Ted S Posted March 13, 2005 Posted March 13, 2005 Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.
Vaughan Posted March 13, 2005 Posted March 13, 2005 That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)
Vaughan Posted March 13, 2005 Posted March 13, 2005 That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)
Vaughan Posted March 13, 2005 Posted March 13, 2005 That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)
aaa Posted March 14, 2005 Posted March 14, 2005 Is there any way to end this script at rest, with no fields selected? At the end of this script put script step: Go to field Your field select contents.
aaa Posted March 14, 2005 Posted March 14, 2005 Is there any way to end this script at rest, with no fields selected? At the end of this script put script step: Go to field Your field select contents.
aaa Posted March 14, 2005 Posted March 14, 2005 Is there any way to end this script at rest, with no fields selected? At the end of this script put script step: Go to field Your field select contents.
Lee Smith Posted March 14, 2005 Posted March 14, 2005 How does going to the field, selecting contents exit the field? Lee
Lee Smith Posted March 14, 2005 Posted March 14, 2005 How does going to the field, selecting contents exit the field? Lee
Lee Smith Posted March 14, 2005 Posted March 14, 2005 How does going to the field, selecting contents exit the field? Lee
Recommended Posts
This topic is 7197 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