Jump to content
Server Maintenance This Week. ×

Export current record


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

Recommended Posts

Export (records) always exports the found set. To export 1 record you need to have a found set of 1. There's a few ways to do this. It's also convenient to use a New Window, so you don't mess with the current found set of your records. I suggest this because you say 8 Advanced for this post (please update your profile from 6 if you've updated your app).

Low rent method:

New Window

Show All Records

Omit Record

Show Omitted Only

Export

Close Window (current window)

The reason I say "low rent" is because, in a (very) high-volume situation, another user might create a record in the split second after Show Omitted Only, and it would be added to your found set (since you didn't specifically omit it, FileMaker doesn't want you to feel left out :)-); at least that's my understanding. Unlikely, but possible.

Politically correct method:

New Window

Set global to unique ID

Commit Record

Go To Related Record [ self_global-to-ID::ID, show only related ]

Export

Close Window

Link to comment
Share on other sites

This topic is 6344 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.