Newbies larsgranat Posted November 26, 2012 Newbies Posted November 26, 2012 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.
comment Posted November 28, 2012 Posted November 28, 2012 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
Newbies larsgranat Posted November 28, 2012 Author Newbies Posted November 28, 2012 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.
Recommended Posts
This topic is 4435 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 accountSign in
Already have an account? Sign in here.
Sign In Now