Results 1 to 2 of 2

Thread: Data Aware DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    South Africa
    Posts
    1

    Question Data Aware DLL

    I have created a DLL that accesses data from a Database using property get statements. I am able to bind text boxes on a form that uses the DLL but am unable to get the recordset to move to the next record. Can anyone PLEASE PLEASE help

  2. #2
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322
    Hi Africa from Singapore,

    You have to create 4 methods to return adodb.recordsets
    yourclass.MoveFirst
    yourclass.MovePrev
    yourclass.MoveNext
    yourclass.MoveLast

    Under these methods, use your recordset move methods respectively....ie..rs.MoveFirst, rs.MovePrevious, rs.MoveNext, rs.MoveLast

    Alternatively, think abt creating a ActiveX UserControl that resembles the ADO Data Control that has 4 buttons that allows the user to navigate within your recordset.

    I hope this helps
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

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