Hi BB, Exactly what is it that you want to repeat? Right now the only code you are repeating is the SETRANGE? Not really sure that helps you. It looks like you're trying to do something different. Like looping through customers and then their sales headers. That could work, then you need to loop and either temporary mark the sales invoices or insert them to a temporary list and show that list. But please let us know where you have this code?
↧