Results 1 to 4 of 4
  1. #1
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328

    Field won't update


    I have a continuous form that includes a date field. I have some code that opens an append query to append the selected record to a table (AfterUpdate). In the query, the date field to be appended is Forms!Thisform.UpdatedDate.

    The problem is that the date field doesn't append on first try. If I update more than once it will append the previously entered date.

    Using W7 and A2007. Must be simple, but eludes me. Help appreciated much.

  2. #2
    drexasaurus's Avatar
    drexasaurus is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Santa Ana, CA
    Posts
    60
    Are you using a saved Append Query created in the visual editor and refering to the query by name?

    Are you looking at the data after the query without refreshing it afterwards?

    Additional details would be needed for me to give what advice I have.

  3. #3
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    Thanks for quick response

    I am using a created query and referring to it by name.

    The query appends to a closed table. I later open the form sourced from the table after the append action and shows old date as described

    I have two other fields on the form that do not get updated that append OK

  4. #4
    gg80 is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    328
    Drexaaurus-sorry to waste your time. I am redfaced to say that that I got copies mixed up and the troublesome field that I was using to append date was sourced to the underlying query, not the form. That was the one that gave me problems. When I changed the date source to the form as described, works fine. I don't understand why the one that doesn't work doesn't work, but onward. Again, sorry. gg80

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

Similar Threads

  1. Update Field.
    By spacemonkey79 in forum Programming
    Replies: 1
    Last Post: 10-20-2010, 02:30 PM
  2. Update field in subform from field in Main
    By jpkeller55 in forum Access
    Replies: 9
    Last Post: 10-15-2010, 03:37 PM
  3. Update field in table after update on a subform
    By jpkeller55 in forum Queries
    Replies: 3
    Last Post: 09-30-2010, 08:02 PM
  4. Replies: 2
    Last Post: 05-05-2010, 02:52 PM
  5. last update in field deffualt value
    By miziri in forum Programming
    Replies: 3
    Last Post: 08-13-2009, 11:06 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