Jump to content

Copy not copying?


This topic is 4342 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

post-72145-0-41250500-1300347448_thumb.j

Link to comment
Share on other sites

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.

ishot-566.jpg

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....

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 4342 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.