Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Copy & Paste enters record number instead of data

Featured Replies

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.

Surly you are not using the Clipboard for this?

Use the script steps of Set Fields and Set Variables.

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?

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.

It might also be a value list where the ID is stored but the description is displayed to user.

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

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?

  • Author

Hi Lee,

It seems to paste the record ID.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.