Results 1 to 4 of 4
  1. #1
    system243trd is offline Novice
    Windows 2K Access 2003
    Join Date
    Nov 2011
    Posts
    27

    Hiding a new record in a continuous form

    Hi,



    I have a form that contains a subform. The subform is a continuous form. As soon as you enter a value in the continuous form a new record is displayed below the one being entered. Is it possible to hide the new record from appearing and it only being displayed when a button is selected or enter is pressed on the last field.

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Yes, would require VBA code. Click a button that runs sql INSERT statement to add record to table then refresh subform and go to last record. Form AllowAdditions property would have to be set to No.
    Last edited by June7; 12-03-2011 at 01:02 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    system243trd is offline Novice
    Windows 2K Access 2003
    Join Date
    Nov 2011
    Posts
    27
    Please could you provide this code as I am new to VBA.

    Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Search Access Help on topic: Programming for Access. I am not able to help further for 2 weeks (vacation).
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Hiding columns in split form.
    By cementblocks in forum Forms
    Replies: 5
    Last Post: 03-11-2014, 07:16 AM
  2. Hiding a Column in Split Form
    By cksm4 in forum Programming
    Replies: 2
    Last Post: 04-15-2013, 03:01 PM
  3. Replies: 13
    Last Post: 11-08-2011, 11:57 AM
  4. Get position of record in continuous form
    By Whizbang in forum Forms
    Replies: 3
    Last Post: 11-02-2011, 01:47 PM
  5. Suppress new record on continuous forms
    By ajetrumpet in forum Forms
    Replies: 0
    Last Post: 09-07-2010, 09:30 PM

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