ADODB.Field (0x800A0BCD)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fary4u
    Contributor
    • Jul 2007
    • 273

    ADODB.Field (0x800A0BCD)

    Hi

    my coding works fine on the net but when i download it to local machine & run the script it's give me this erro ?

    Error Type:
    ADODB.Field (0x800A0BCD)
    Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

    here is the coding
    [PHP]
    Dim strProdName, intPrice
    set rsProdInfo = Server.CreateOb ject("ADODB.Rec ordset")
    rsProdInfo.Open "products", Conn, adOpenStatic, adLockOptimisti c, adCmdTable

    intTotal = 0

    rsProd.MoveFirs t
    while not rsProd.EOF
    rsProdInfo.Move First
    rsProdInfo.Find "productID = " & rsProd("product ID")
    intProdID = rsProdInfo("pro ductID")
    [/PHP]
    is any body know's where is the problem is ?
  • colinod
    Contributor
    • Nov 2007
    • 347

    #2
    Hi not sure but it looks like it cant find the database

    Comment

    • DrBunchman
      Recognized Expert Contributor
      • Jan 2008
      • 979

      #3
      Which line is it erroring on?

      Dr B

      Comment

      • Fary4u
        Contributor
        • Jul 2007
        • 273

        #4
        Thanks for the help sorted out

        Comment

        Working...