|
-
Feb 20th, 2000, 09:01 AM
#1
Thread Starter
Junior Member
-
Feb 20th, 2000, 12:19 PM
#2
Addicted Member
I think your problem is this: The record may not be found because you are skipping over it. E.g.
Say the FamilyID in the adofamily recordset is 123. You do a movefirst which makes the first record the currect record (in adoski). This record may have FamilyID = 123. Then in the .Find line, the ",1" at the end specifies to skip one record before doing the search, so the first record is skipped and thus a match is not found.
I suggest:
1) change the ",1" to ",0" (or leave it out altogether as the default is 0) so that the first record is not skipped.
hopefully this was your problem although it is a bit of a longshot.
-
Feb 20th, 2000, 12:22 PM
#3
Addicted Member
i just noticed one more thing, if FamilyID is a string it needs to be delimited with single quotes, so:
.Find " familyID = " & AdoFamily.Recordset("FamilyID")
would become
.Find " familyID = '" & AdoFamily.Recordset("FamilyID") & "'"
-
Feb 21st, 2000, 12:10 PM
#4
Thread Starter
Junior Member
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
|