Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > With Myoledb Seek Not Work


Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2003, 02:26 PM
arieljg arieljg is offline
Newcomer
 
Join Date: Aug 2003
Posts: 4
Unhappy With Myoledb Seek Not Work


Hi, I have MySql table with an index called "CodigoProceso" with de keys Codigo + Proceso

am trying to find a record using seek, but when it´s execute a receive an error msg, can any one provide me with little help?

the ? rsArticulos.Supports(adSeek) return true

If Not rsArticulos.Index = "CodigoProceso" Then
rsArticulos.Index = "CodigoProceso"
End If
rsArticulos.Seek Array(Val(txtArtCodigo.Text), txtArtProceso.Text), adSeekFirstEQ
Reply With Quote
  #2  
Old 08-30-2003, 02:53 PM
xBox's Avatar
xBox xBox is offline
Junior Contributor
 
Join Date: May 2003
Location: Dubai
Posts: 243
Cool

Check it out
Code:
With rst .Index = "BrCode" .Seek "=", mBraCode If .NoMatch = False Then frmAdvanceDetails.lblSelectBranch.Caption = ![BrDesc] End If End With

Cheers
xBox
Reply With Quote
  #3  
Old 08-30-2003, 03:05 PM
arieljg arieljg is offline
Newcomer
 
Join Date: Aug 2003
Posts: 4
Unhappy

When i execute the .index, i receive the msg 'Error 3251..Current provider does not support the necessary interface for index functionality'

Thanks Ariel
Reply With Quote
  #4  
Old 08-30-2003, 03:09 PM
xBox's Avatar
xBox xBox is offline
Junior Contributor
 
Join Date: May 2003
Location: Dubai
Posts: 243
Default

Which OLEDB PRovider r u using it...

Thanks
xBox
Reply With Quote
  #5  
Old 08-30-2003, 03:22 PM
arieljg arieljg is offline
Newcomer
 
Join Date: Aug 2003
Posts: 4
Default

Reply With Quote
  #6  
Old 08-30-2003, 03:29 PM
xBox's Avatar
xBox xBox is offline
Junior Contributor
 
Join Date: May 2003
Location: Dubai
Posts: 243
Default

Quote:
Originally Posted by arieljg
MyOLEDB http://mysql.proserve.nl/portal/sites/item-142.html




do onething....

put a ADODC Control.. and create a OLEDB Connection.. check whether this OLEDB it's coming to the list
Reply With Quote
  #7  
Old 08-30-2003, 03:56 PM
arieljg arieljg is offline
Newcomer
 
Join Date: Aug 2003
Posts: 4
Default

Quote:
Originally Posted by xBox
Quote:
Originally Posted by arieljg
MyOLEDB http://mysql.proserve.nl/portal/sites/item-142.html




do onething....

put a ADODC Control.. and create a OLEDB Connection.. check whether this OLEDB it's coming to the list



what's i must check?
Reply With Quote
  #8  
Old 09-03-2003, 08:54 AM
Squeebee's Avatar
Squeebee Squeebee is offline
Centurion
 
Join Date: Jun 2003
Location: Calgary, Alberta, Canada
Posts: 127
Default

I would reccomend switching to MyODBC as MyOLEDB has been essentially abandoned.
__________________
Regards,
Mike Hillyer
www.vbmysql.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenation: & vs. + (& doesn't work ??) dpflagg General 4 06-27-2003 09:16 AM
Why does it work on my machine nlarge DirectX 3 12-10-2002 07:39 AM
My site for work experience. Does it work? Kitaiko Web Programming 22 06-14-2002 07:54 AM
QUERY : Doesn't work! :( diver Database and Reporting 5 06-08-2002 08:00 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->