Hey!
I have problems using FINDKEY, using MSDAC, latest version
Appearantly, the FindKey does NOT find the record. I have been
using findkey on BDE databases before, with no problem. Is there
anything special regarding FindKey using MSDAC?
I tried IndexFieldNames. Indexname seems to be missing?
I am searching on a integer column.
regards,
Ruud
MSDAC FindKey does not work?
FindKey locates records by fields that are in the primary key. If you have a table defined like the one below:
Call to FindKey([10]) will make a record current if the value of its EMPNO field equals to 10.
Code: Select all
CREATE TABLE [dbo].[emp11](
[EMPNO] [int] IDENTITY(1,1) NOT NULL,
[ENAME] [varchar](10) NULL DEFAULT (NULL),
...
PRIMARY KEY CLUSTERED
(
[EMPNO] ASC
)
)