Results 1 to 2 of 2
  1. #1
    pwalter83 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    19

    How to call After update event to the textbox

    Hi,
    I have a added a code in the After Update event of a textbox which I need to call to display value in another textbox. This is what I have entered in the After Update event:
    ------------------------------------
    Private Sub Text41_AfterUpdate()


    [Me].[Text45] = DLookup("DIVISION_CD", "dbo_DIVISION", "[LINE_CD] = '" & [Me].[Text41] & "'")
    End Sub
    ------------------------------------
    Can some one pls tell what code or syntax I need to add in the text box control source to call the above After Update event ?
    Thanks,
    Paul

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    On the Events tab of the properties for that control select [Event Procedure] for After Update

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

Similar Threads

  1. Replies: 7
    Last Post: 01-19-2011, 10:39 AM
  2. Replies: 2
    Last Post: 11-30-2010, 10:06 AM
  3. Before Update Event
    By randolphoralph in forum Programming
    Replies: 0
    Last Post: 06-15-2010, 09:26 AM
  4. Form does not update after event
    By pedro in forum Forms
    Replies: 10
    Last Post: 12-23-2009, 07:54 AM
  5. Befor update event
    By wasim_sono in forum Forms
    Replies: 1
    Last Post: 03-24-2006, 07:21 AM

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