kennedymr2
Programmer
I am using an access2000 .mdb as my databse in this project
I have an index called codephoto, with 2 keys
Code and Title
rs4.Index = ("codephoto")
' If i use a single key
Look1 = rs.Fields("code")
rs4.Seek Look1, adSeekBeforeEQ
BUT.. If i have 2 keys... this does NOT work !@!@
Look1 = rs.Fields("code") & rs.Fields("Title")
rs4.Seek Look1, adSeekBeforeEQ
??? How do i do a seek with multiple keys.
anf then process as follows.
rs4x = "zzzzzz"
If Not rs4.EOF Then rx4x = rs4.Fields("code") & rs4.Fields("title")
If rs4x <> Look1 Then
Appreciate any help
I have an index called codephoto, with 2 keys
Code and Title
rs4.Index = ("codephoto")
' If i use a single key
Look1 = rs.Fields("code")
rs4.Seek Look1, adSeekBeforeEQ
BUT.. If i have 2 keys... this does NOT work !@!@
Look1 = rs.Fields("code") & rs.Fields("Title")
rs4.Seek Look1, adSeekBeforeEQ
??? How do i do a seek with multiple keys.
anf then process as follows.
rs4x = "zzzzzz"
If Not rs4.EOF Then rx4x = rs4.Fields("code") & rs4.Fields("title")
If rs4x <> Look1 Then
Appreciate any help