Results 1 to 2 of 2
  1. #1
    svolkmann is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2012
    Posts
    1

    DAO recordset management

    I've come upon a strange anomaly. One thing I don't like is working in ADO thereby slowing down processing time. I like to work through DAO and refresh the screen.



    I have been replicating the form.recordsource to a record set with one statement: set rs = me.RecordsetClone
    Then, while updating the records of the rs ( a clone of the those on the screen), each rs.Update would force the screen to flash. So, if there are 57 records on the screen, there would be 57 flashes.

    Fix: transfer the form record source to a variable, and set the rs to that query.
    SQL = Me.RecordSource
    Set rs = db.OpenRecordset(SQL)

    I figure control keeps a link to the form record source if one uses
    set rs = Me.RecordsetClone

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Do you have a question?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Inventory management
    By Mina Garas in forum Access
    Replies: 3
    Last Post: 01-24-2012, 10:40 AM
  2. Assett management
    By moe0303 in forum Forms
    Replies: 1
    Last Post: 12-18-2011, 02:35 AM
  3. db FOR fleet management
    By nsr1989 in forum Database Design
    Replies: 3
    Last Post: 02-10-2011, 07:32 AM
  4. File Management
    By Lindsur in forum Database Design
    Replies: 1
    Last Post: 04-14-2010, 01:58 PM
  5. Replies: 1
    Last Post: 11-13-2009, 03:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums