CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Speed

  1. #1
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    18

    Speed

    Hi, I'm using ADODC and RDODC to bind my tables with a database, but it's taking a lot of time to open the desired records, why is it so? Are there better alternatives? Thanks in advance.
    Lynn


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: Speed

    Try using the Objects (References) rather than the Controls. The Controls are designed to give you a nice black box which is easy to use, but in so doing there is alot of background activity and references you don't neccessarily need, but slow you down.

    Using the RDO Objects you can also specify the Type of Cursors to create, setting this to rdNoCursors creates lightening fast Read Only Resultsets.


    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

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

Featured