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

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

Recommended Posts

Posted

Hi All

I have a list of 4000 records for multiple customers (around 40 customers). My list consist of CustomerNumber, invoice number, invoice date, dollar ammount.

What i want to do is be able to run a report to this list and have my script save every customer to one worksheet. So in 1 worksheet i want to see all entries from the same customer, and so on for all my customers.

Is this possible? IF not can it be possible to create one excel sheet for every customer.

I want to prevent from doing a find mode for every customer and save to excel.

Thanks

Posted

Do you have a Customer table? If so, just loop thru Customers, gtrr, and export found set. Back to next Customer.

Posted

I don't have a customer table.

All i have is 1 table with all the fields. (Im actually pulling all this info from our Accounting System-MAS90)

Do you tink i have to create a customers table?

i guess the only issue is that i have to keep that table updated.

Do you have a Customer table? If so, just loop thru Customers, gtrr, and export found set. Back to next Customer.
Posted

No, it's easier to do if you have a Customer table.

Without a parent table, you will need another approach.

I'm thinking sort by CustomerID, then loop. Capture CustomerID in a $var. gtrr new window using a self-join and then export. Close window, next record. If $var=customerID, then go to next, otherwise, you're on a new customer, so gtrr export.

Is that at all understandable?

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