Results 1 to 2 of 2

Thread: ACCESS to SQL Server code diff

  1. #1

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    ACCESS to SQL Server code diff

    In my continuing quest to upgrade my systems from ACCESS2000 toi SQL Server 2000, the following code no longer seems to work. I would appreciate any help on this..

    rsTool.Open "Tooling", Cnxn, adOpenStatic, adLockReadOnly, adCmdTableDirect
    rsTool.Index = "PK_Tooling"
    rsTool.Seek Trim(cboTool.Text), adSeekFirstEQ
    If Not rsTool.EOF Then

    "PK_Tooling" is the primary key for this table.
    Error" Current provider does not support the necessary interface for Index functionality.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    What is it that you need to do besides opening that table?
    You may change from table name to sql and specify some record range: "Select a,b,c From TBL1 Where a = 1, b=2, c=3" or something of that nature ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width