Results 1 to 3 of 3
  1. #1
    Jrzy3 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    10

    Continuous Form Carry Over

    On the current form I have the Before Update set to the following code:

    Private Sub ControlName_BeforeUpdate(Cancel As Integer)
    Me.ControlName.DefaultValue = "'" & ControlName& "'"
    End Sub

    This works great; however, is there way to change this...



    Example:

    Label1 Label2 Label 3 Label4
    Record 1: Control1 Control2 Control3 Control4
    Record 2: Control1 Control2 Control3 Control4


    Once I enter data in Record 1 Control2 and move to Control3...Control2 of record 2 is automatically filled with same data as Record 1 Control2

    Is there a way to prevent this occurrence until I actually move to Record 2?

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    1) Access is doing exactly what you told it to do, when you set the default value.

    2) It shouldn't affect Record 2 at all if Record 2 actually exists with data, and it shouldn't affect your data entry if Record 2 does not exist with data.

    So, what's making you think this behavior needs to change?

  3. #3
    Jrzy3 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    10
    I am good with it, but there are going to be about eight different users entering data...didn't want them to think or possibly doing something wrong. So I was wondering if there was a way for record 2 to populate once the user clicks on the first control within record 2. I guess more of a presentation for less confusion...if that makes sense...

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

Similar Threads

  1. Replies: 8
    Last Post: 03-09-2012, 01:17 PM
  2. Carry data from one form to another.
    By Tewbrainer in forum Forms
    Replies: 3
    Last Post: 10-27-2011, 04:33 PM
  3. Carry value over to new record w/macro
    By bbrazeau in forum Programming
    Replies: 5
    Last Post: 10-27-2011, 09:00 AM
  4. Replies: 0
    Last Post: 03-23-2011, 11:29 PM
  5. Replies: 26
    Last Post: 01-09-2011, 05: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