Hello
I am preparing an application where I have different data stored in an array
eg. Dim Vehicle(100) as String
In this array different values are stored in an ordered manner.
eg. Vehicle(0)="Tat a"
Vehicle(1)="Tat a"
Vehicle(2)="Tat a"
Vehicle(3)="Mar uti"
Vehicle(4)="Mar uti"
and so on
I want only distinct values of the array to be stored in another array
eg. Vehicle(100)
Vehicle(0)="Tat a"
vehicle(1)="mau rti"
How can I select distinct fields from an array?
These are not stored in database, hence I cannot used the "select distinct" query.
Kindly help
Thanks
I am preparing an application where I have different data stored in an array
eg. Dim Vehicle(100) as String
In this array different values are stored in an ordered manner.
eg. Vehicle(0)="Tat a"
Vehicle(1)="Tat a"
Vehicle(2)="Tat a"
Vehicle(3)="Mar uti"
Vehicle(4)="Mar uti"
and so on
I want only distinct values of the array to be stored in another array
eg. Vehicle(100)
Vehicle(0)="Tat a"
vehicle(1)="mau rti"
How can I select distinct fields from an array?
These are not stored in database, hence I cannot used the "select distinct" query.
Kindly help
Thanks
Comment