February 10, 20169 yr Hi everyone, We're having an issue when we do a copy and paste, whether between layouts or to an external program, that means the record number is pasted rather than the data in the field from said record. This is happening more often than not, but of course it will occasionally paste correctly - just to add to the frustration. I've had a bit of a look around but can't find anything on the forums. Any ideas about why this is happening and what can be done to fix it? Thanks! Jenni.
February 10, 20169 yr Surly you are not using the Clipboard for this? Use the script steps of Set Fields and Set Variables.
February 10, 20169 yr Jenni mentioned an external program in which case set field/var can't replace copy/paste. Jenni, can you detail the sequence of events for us? Are you able to consistently reproduce the problem, or notice any kind of pattern as to when it succeeds or fails? Can you tell us a little more about your setup -- using FileMaker server or not, etc?
February 10, 20169 yr 11 minutes ago, JenniSTM said: that means the record number is pasted rather than the data in the field from said record. I don't think that's possible. When you copy, you copy either the active selection from the active field (provided something is selected), or - if no field is active - the contents of all fields of the current record present on the current layout. Perhaps you have the record number on the clipboard from some previous action. Then, if the cursor is in a field with nothing selected, the Copy command does nothing and the existing clipboard remains. If you want to have a consistent result, it would be best to script the action (including the selection of the contents to be copied). And, as Lee mentioned, you should restrict copy to moving data to external applications (even then a better method may exist), and use other methods when staying within the solution.
February 10, 20169 yr It might also be a value list where the ID is stored but the description is displayed to user.
February 10, 20169 yr Author Hi guys, Thanks for your input. We do it for simple stuff like copying an email address from a Contacts layout to Outlook or for copying an address to a Notes field on an Invoice (where the delivery address is different to the payer's address. Hope this helps clarify things, Jenni.
February 10, 20169 yr Are you just copying the email address or is there other text involved? Do you have a script that is running in tandem in some sort of creating a new record? Can you recreate this in a different file? Quote external program, that means the record number is pasted rather Are you talking about the record Id, or a serial number?
February 10, 20169 yr What does it look like BF1FFB7A-6815-4A05-B83E-62243CC939E9? or something a lot shorter such as AB1234, or 123 We might move this on a little faster if you could upload a file. Here is a link that explains about posting questions Anatomy of a Good Topic
Create an account or sign in to comment