rex Posted March 27, 2001 Posted March 27, 2001 I have many fields with copy and paste commands in the scripts. How can I cancel the contents of the clipboard after one paste to avoid multiple pasting of clipboard into other fields? Making a macro to put an English pound sign instead of a $ sign into a field is simple?
LiveOak Posted March 27, 2001 Posted March 27, 2001 I would get rid of the copy and pastes and use Set Field(). What are you doing that you need to do this? -bd
rex Posted April 4, 2001 Author Posted April 4, 2001 Hi bd, thanks for the reply. The 'set field' is OK but it over-writes the content in the field it is transferring data to. I need to retain the data and add to it as it is an archive field. (hence the copy & paste , which works well) My problem is not with Filemaker, but with windows retaining a paste in memory after it has been pasted. The problem only occurs when an empty field is selected and when the copy & paste command is in the script (there are 12 of these fields)and it then pastes the previous paste that is still held in windows memory. I have overcome it now by re-scriping the copy & paste files (which do the job OK) and adding another copy & paste command in the script from a dummy field with only (.) in it. It then only pastes the dot, and I can cope with this..Rex
Ocean West Posted April 4, 2001 Posted April 4, 2001 If YOUR_FIELD contains: "The lazy dog" and you wanted to append to it you can use Set Field Set Field: YOUR_FIELD, YOUR_FIELD&" jumped over the brown fox." or Set Field: YOUR_FIELD, YOUR_FIELD&SOME_OTHER_FIELD
BobWeaver Posted April 4, 2001 Posted April 4, 2001 Regarding the English pound sign, are you trying to search for $ and replace with
rex Posted April 5, 2001 Author Posted April 5, 2001 Bob, All I looking for is an easy way to insert a 'pound' sign in a field, not replace it. This crops up occasionally when entering old archive records, and as various people input our records and they may not all be regular computer users, an easy way to key it is sought for them. We,in Australia, used pounds, shillings and pence until about 35 years ago. Regarding the copy & paste query, the only problem is when a paste command in a script is encountered and the last field it copies & pastes from is empty. It then pastes the previous paste still held by windows, resulting in multiple pastes of the same data. But no big deal, the (.) field does the job. I will try the 'set field&' solution. Rex
Recommended Posts
This topic is 8888 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