Results 1 to 3 of 3
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Is clearing a form the same as adding a new record?

    Why or why not?



    Either way, you get a blank screen.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Depends if the form is bound or unbound. A form that has a RecordSource is bound and adding a new record takes you to the New Record row of the form's RecordSource. Any entry/edit to bound controls will pass directly to the table.

    If you 'clear' a bound form by setting controls as null or empty string, you quite possibly have just wiped out data and the result will be a record with blank fields that weren't blank before.
    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
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    Depends if the form is bound or unbound. A form that has a RecordSource is bound and adding a new record takes you to the New Record row of the form's RecordSource. Any entry/edit to bound controls will pass directly to the table.

    If you 'clear' a bound form by setting controls as null or empty string, you quite possibly have just wiped out data and the result will be a record with blank fields that weren't blank before.
    Ok. I'm just trying to understand this better by observing the system I am using. Thanks again. You've been very helpful.

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

Similar Threads

  1. Clearing Fields for on User Form for New Record
    By dccjr in forum Programming
    Replies: 1
    Last Post: 01-31-2013, 06:40 PM
  2. Clearing Combo Box when adding a new record
    By Purdue_Engineer in forum Forms
    Replies: 3
    Last Post: 09-25-2012, 12:57 PM
  3. Replies: 4
    Last Post: 08-14-2012, 07:14 AM
  4. Clearing Checkbox on New Record
    By rossi45 in forum Programming
    Replies: 5
    Last Post: 04-16-2012, 05:30 PM
  5. Clearing certain boxes on form for next record using VB
    By justinwright in forum Programming
    Replies: 3
    Last Post: 07-21-2010, 12:16 PM

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