October 29, 200916 yr 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
October 29, 200916 yr 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/
October 31, 200916 yr 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
November 2, 200916 yr 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
November 2, 200916 yr 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
November 3, 200916 yr 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