ron G Posted March 17, 2011 Posted March 17, 2011 What's wrong with this script? Copy does NOT copy to the clip board. $$string gathers the email addresses ok. all the other variables work (I can see them in Debug) Ideas appreciated.
ron G Posted March 17, 2011 Author Posted March 17, 2011 What's wrong with this script? Copy does NOT copy to the clip board. $$string gathers the email addresses ok. all the other variables work (I can see them in Debug) Ideas appreciated. Got it to work. The problem was NOT with the copy command. The problem was in the absence of the SET FIELD field on the layout. (I guess it IS kind of hard to set a field if the field isn't present).... duh....
bruceR Posted March 17, 2011 Posted March 17, 2011 Got it to work. The problem was NOT with the copy command. The problem was in the absence of the SET FIELD field on the layout. (I guess it IS kind of hard to set a field if the field isn't present).... duh.... Definitely not true. Set field does NOT require the field to be on the layout and that has been the case since FileMaker 6. The copy command does require the field to be on the layout. Set field DOES require you to be in browse mode; and does require that you are setting a field that is valid in context.
Rick Whitelaw Posted March 17, 2011 Posted March 17, 2011 Definitely not true. Set field does NOT require the field to be on the layout and that has been the case since FileMaker 6. The copy command does require the field to be on the layout. Set field DOES require you to be in browse mode; and does require that you are setting a field that is valid in context. I use Set Field all the time in Find mode. RW
bruceR Posted March 20, 2011 Posted March 20, 2011 Argh, I did not put that very well at all. Yes, I use set field in Find mode all the time and strongly recommend scripted finds that use this method. Maybe a better way to say it is that you need to pay attention to what mode you are in and what you are trying to do. I have seen instances where users enter find mode and try to set the value of a field (or a variable) by calling on the contents of the record they were on in browse mode or in another layout.
Recommended Posts
This topic is 4997 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