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.

Automatic searches and exports?

Featured Replies

  • Newbies

Hello!

Feel free to move this to another section if this one is inappropriate.

 

We're using FileMaker 11 as a point of sales system, and I was thinking of new ways to speed up our sales reports.

 

Is it possible to get Filemaker for instance to search a database for all sales completed by a specific salesperson within a specific week or month, and then exporting the results to an Excel file or such?

 

As of today we have to manually search the database in FileMaker and email the results to the salespersons. Having a kind of automatic way of doing this would be great, and would save me a lot of time.

Why don't you script this? Assuming you have a table of Salespeople, the script could loop over the records there - very roughly:

Go to Layout [ Salespeople ]
Show All Records
Go to Record { First ]
Loop
Set Variable [ $personID ; Salespeople::SalespersonID ]
Go to Layout [ Sales ]
Enter Find Mode []
Set Field [ Sales::SalespersonID ; $personID ]
Set Field [ Sales::Date ; ... ]
Set Error Capture [ On ]
Perform Find
If [ Get ( FoundCount ) ]
Set Variable [ $filepath ; ... ]
Export Records [ ... ]
Send Mail [ ... ]
End If
Go to Layout [ Salespeople ]
Go to Record [ Next; Exit after last ]
End Loop

  • Author
  • Newbies

We have a Sales database, so you'd have to search those records for all Sales made by a specifik Salesperson.

Thanks! I'll have to see if I can try that, I'm not a very advanced user.

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.