Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek method
Message
From
03/08/2001 13:24:41
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
03/08/2001 00:30:22
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00538732
Message ID:
00539505
Views:
12
When you use the line in the example code:

rst.Index = "PrimaryKey"

:you are telling the recordset what to use as the primary key. If the primary key of the table you are connected to contains multiple columns the index property of your recordset will contain the multiple columns as well. Keep in mind that the Index property is an array so when you go to use the seek method, you have to pass an array that contains all of the necessary columns that make up the primary key.
Previous
Reply
Map
View

Click here to load this message in the networking platform