|
-
May 23rd, 2013, 10:31 PM
#1
Thread Starter
Member
Search un-used number
Someone please help me to search unused number in mdb ordered number list
Eg:
From 1-10 I used these:
1
2
3
5
7
8
And unused these:
4
6
9
10
How can I search it?
Tx 4 ur help
-
May 23rd, 2013, 11:22 PM
#2
Re: Search un-used number
You could use a FOR-NEXT loop
and inside the loop lookup for the record for that number
Following your example:
Code:
FOR X = 1 TO 10
Search your recordset with X
If the search fails then is UNUSED else is USED
NEXT X
you didn't say if you're using ADO or DAO
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
May 23rd, 2013, 11:55 PM
#3
Thread Starter
Member
Re: Search un-used number
I am using ADO, thanks 4 ur answer, I will try it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|