vb + mysql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anand3245
    New Member
    • Jun 2007
    • 1

    vb + mysql

    If RSProd.State = 1 Then RSProd.Close
    RSProd.Open "select * from ProductMaster where productid='" & CboRawcode & "'", UniCls.conn, adOpenStatic, adLockPessimist ic

    If RSProd.RecordCo unt > 0 Then

    getting runtime error Data provider or other service returned an E_FAIL status in
    mysql 5.0
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    I think you'll need a client side cursor to get the recordcount.

    Comment

    Working...