I create an array from sql to get 3 value from fields for example:
Sql="f1, f2 f3 from eccc"
Now i fill array with:
Set rs Getrow()
Array eccc
Now i need to delete all
elements from array where the related element of rs f1="aa"
Note:
Rs f1 not contain duplicates
Delete elements from array
-
- Administrator
- Posts: 78631
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Delete elements from array
You could change the SQL to
Code: Select all
Sql = "SELECT f1, f2, f3 FROM sometable WHERE f1<>'aa'"
Best wishes,
Hans
Hans