Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7982 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am brand new to FileMaker. I have a project in which I want to drag and drop selected records (including related records) from one database to another. Ideally a button that opens up to a browse allowing the user to select the record to drag and drop it in another container. Is this possible?

Posted

The simple answer is 'Yes' and 'No'.

You can very easily move specific records from one database to another using scripts - but you can't do it using 'drag-n-drop'. You can drag-n-drop single field elements from one file to another, but only one field at a time.

Here's one way to do it:

Create a list view with enough fields on it to allow the user to identify a particular record. Create a button in the body of the layout. Attach to that button a script that would make that one record a found set by itself:

then call an external script in the recieving file to import the record(s) from the first file.

Ouick and easy script for this:

script for button (file1):

Show All Records

Omit Record

Show Omitted

Perform Script [sub-scripts, External: "File2": ImportFiles]

Show All Records

Import Files script (In file 2):

Import Records [Restore, no dialog, "File1"]

This topic is 7982 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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