Results 1 to 2 of 2
  1. #1
    radguy is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    32

    Simple command assignment to a Event

    I need help assigning a command to a field from one of my tables that I have in my form. I just want assign a Me.Tbx[FieldName]= Now() to a DblClick Event.



    Here are my screenshots.

    Can someone help me properly code this?
    Attached Thumbnails Attached Thumbnails Capture.JPG   Capture1.JPG  

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Your screen grab and sample code indicates that the Control's name is DateOutCCam, not tbxDateOutCCam! So your code should be

    Me.DateOutCCam = Now()

    Linq ;0)>

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

Similar Threads

  1. Access Assignment
    By IsaacA95 in forum Access
    Replies: 1
    Last Post: 08-28-2013, 01:09 PM
  2. Simple Code for a Command Button
    By dvgef2 in forum Reports
    Replies: 5
    Last Post: 06-21-2013, 05:04 PM
  3. Replies: 2
    Last Post: 05-10-2012, 12:50 PM
  4. Not lookup, but assignment
    By ArmyLT in forum Database Design
    Replies: 3
    Last Post: 11-17-2011, 02:35 PM
  5. Command button click event
    By R_jang in forum Programming
    Replies: 10
    Last Post: 10-29-2010, 10:13 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