Results 1 to 6 of 6

Thread: Distinct Query AbsolutePosition [Solved]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258

    Distinct Query AbsolutePosition [Solved]

    When creating a Distinct recordset the AbsolutePosition property is all messed up.

    I Am using DAO on A Access Database.

    Does anyone know how to correct it.
    Last edited by shragel; Jun 28th, 2004 at 05:31 PM.

  2. #2
    Lively Member
    Join Date
    Jun 2004
    Location
    Dubai, UAE
    Posts
    64
    Hi,

    Can you put down your logic/Code of creating the distinct recordset ? So that I can help you.


    Gs

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    set rst = dbs.openrecordset("Select Dintinct Field1 From table1")
    msgbox rst.absoluteposition

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    Figured out the problem.

    In A distinct recordset you can set a bookmark to a old bookmark without getting a error. So it never reloaded the new recordset

  5. #5
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345
    By the way ADO is better than DAO
    Regards,
    Vishalgiri Goswami
    Gujarat, ( INDIA ).
    ---------------------

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    True.

    But for access databases dao is much quicker.

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