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.

Moving data between container fields

Featured Replies

Hi.

Im looking to drag and drop data from one contaner field to another - thus moving. When I currently do it, the data is copied.

Is there a key combination that does a move, or what formula can I use to then delete the contents of the source field please?

Greg

Clear script step or set field "" or click into the field and click backspace.

Hi.

Im looking to drag and drop data from one contaner field to another - thus moving

See if this helps.

http://fmforums.com/forum/showpost.php?post/200426/

  • Author

Thanks for your reply Lauren, its just the auto-deletion of the "from" field that I couldnt sort out.

Raybaudi - this example worked fine thanks. It was the setup of the fields that made all the difference.

Cheers, to you both.

Greg

  • Author

Hi there.

Just thought I'd follow up on this post.

I found that with that script example above, that it worked pretty well, but found that a slight modification improved it, but both the original and modified scripts had a "nasty" side effect.

My version ended up like as a script trigger of OnObjectEnter invoking a script:

[color:blue]If [not IsEmpty(Get(ActiveFieldName))]

Set Field [""]

EndIf

and allowed clean dragging of field contents from one to another.

The side-effect I mentioned is that if you click on the field it actually clears the field (and I can see why).

Can anybody suggest an alternative script that still allows dragging but not clearing it.

Any ideas appreciated.

Cheers,

Greg

Try this one...

It solves even the problem of not let delete an inserted pict ( other than deleting the record ).

BTW: It appears that you have to change your profile: script triggers start with 10 !

_10_Drag_Drop.zip

  • Author

Hi Daniele.

Thank you for you re-post. Yes - this seems to fix the problem I was having. I will apply it to my database.

Cheers,

Greg

PS: Profile updated. :)

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.