|
-
May 12th, 2013, 08:56 PM
#1
Thread Starter
Hyperactive Member
recordset.find
hey im trying to find in a db table a columns with a couple of criterias.. but does the find command allow more than one of them?
here's my code..
Code:
With rs_route
.Find ("stuid='" & stuid.Text & "' And bookid='" & bookid.Text & "' AND issuedate='" & dtp.Value & "'")
If .EOF = True Then
.AddNew
how do i get this working
-
May 12th, 2013, 10:36 PM
#2
Re: recordset.find
FIND method only allow one criteria
You could execute a SELECT_FROM_WHERE query with 2 criterias over the connection
or
FILTER the recordset with the 2 criterias
or
FILTER on one criteria and use FIND with the other criteria
Last edited by jggtz; May 12th, 2013 at 10:43 PM.
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
May 13th, 2013, 02:46 AM
#3
Re: recordset.find
Moved to the Database Development forum.
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
|