Results 1 to 5 of 5
  1. #1
    rttrent is offline Novice
    Windows 8 Access 2007
    Join Date
    Jun 2013
    Posts
    3

    Question New record in subform positioning dilemma

    My main form has a textbox with an after-update event which inserts its value into a table. It then performs a requery on a subform of the main form which brings the newly added record into the subform whose record source is a sql query.
    My dilemma: The new record is indeed added to the table and the continuous form. I expected the continuous form to display the first record of the query but the current record is not affected and the display of the form would only be displaced by one record if the added record preceded it in sort order. I wish the continuous form to display the newly added record as the active selection but I've had no success as yet. Perhaps the requery not changing the current record is related. I sure would appreciate any advice anyone can offer. I'm rather new at Access but I'm enjoying learning. I'm running Access 2007 under Windows 8.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

  3. #3
    rttrent is offline Novice
    Windows 8 Access 2007
    Join Date
    Jun 2013
    Posts
    3
    Thanks orange! That site really helped. I found 1) typos, 2) referencing problem and 3) learned about bookmarks. It's working now as hoped and I appreciate your info. )

  4. #4
    rttrent is offline Novice
    Windows 8 Access 2007
    Join Date
    Jun 2013
    Posts
    3
    Thanks orange! I had three major bugs in my code and your reference pointed them out to me. The app is now working as designed and I appreciate your help. I'd mark this 'solved' if knew how! )

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

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

Similar Threads

  1. Replies: 6
    Last Post: 08-22-2012, 03:24 AM
  2. Relationship Dilemma? I think??
    By Palomino33 in forum Access
    Replies: 17
    Last Post: 10-06-2011, 08:52 PM
  3. Design dilemma; multiple tables with same foreign keys?
    By squirrly in forum Database Design
    Replies: 9
    Last Post: 08-16-2011, 10:43 AM
  4. Sizing and positioning
    By 161 in forum Database Design
    Replies: 1
    Last Post: 04-09-2011, 10:52 AM
  5. form positioning
    By taylorosso in forum Forms
    Replies: 5
    Last Post: 08-23-2009, 08:00 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