View previous topic :: View next topic
|
Author |
Message |
subramanianup Warnings : 1 New User
Joined: 18 May 2005 Posts: 46 Location: Bangalore, INDIA
|
|
|
|
In the input customer numbers are duplicates, if a customer should not be processed more than once, what are the different ways to achieve this? |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
subramanianup wrote: |
In the input customer numbers are duplicates, if a customer should not be processed more than once, what are the different ways to achieve this? |
first you sort your file(i suppose you use them). this will get all the customers in ascending or descending order of their nos.
do a perform loop. read the customer no to a local variable.
get a check for every time. if there are not similar,
do the process.
else
skip the process.
hope this helps you. there can be better logic for this too. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Quote: |
first you sort your file(i suppose you use them). this will get all the customers in ascending or descending order of their nos.
do a perform loop. read the customer no to a local variable.
get a check for every time. if there are not similar, |
In Sort only we can remove duplicate customer number
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
|