Results 1 to 5 of 5

Thread: Error #3251

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Posts
    78

    Error #3251/ Speeding up a program

    I can't find the hold in my logic on this problem. I keep getting run-time error '3251' with the message "Operation is not supported for this type of object." On the line that tries to use the ".Index".

    here is the code I am having problems with:

    Dim strSeekee As String
    Do Until frmMain.datAcct.Recordset.EOF
    For i = 2 To 100
    strSeekee = frmMain.datAcct.Recordset.Fields(i)
    frmMain.datSDN.Recordset.Index = "ListInfo"
    frmMain.datSDN.Recordset.Seek "=", strSeekee
    If frmMain.datSDN.Recordset.NoMatch Then
    frmMain.datSDN.Recordset.MoveFirst
    Else
    Call PrintRoutine2
    End If

    Next i
    frmMain.datAcct.Recordset.MoveNext
    Loop

    Anyone have any ideas?
    Last edited by mattm; Apr 19th, 2001 at 09:08 AM.

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