|
-
Sep 13th, 2000, 08:58 PM
#1
Thread Starter
Lively Member
How do you use the .findfirst .findnext etc commands to display search results?
txtsearch.text <-- what user eneters and the it needs to populate 3 more textboxes with reults
Name.text <--needs to show results name
Number.text <-- needs to show names number
Name2.text <-- needs to show names name2
-
Sep 13th, 2000, 09:09 PM
#2
Lively Member
assuming you have a recordset rsTemp
with rsTemp
.Index ="PrimaryKey"
' I'm assuming the user enters the primary key?
.FindFirst txtsearch
if .NoMatch then
' not found in db
else
Name = !Name
Number = !Number
Name2 = !Name2
end if
end with
-
Sep 14th, 2000, 02:02 PM
#3
Thread Starter
Lively Member
i get an error on the primaty key. error 3800 not an indexed field. Any suggestions?
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
|