Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    Columbus, Ohio, USA
    Posts
    286
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Updating a table field from form (Access 2000)

    Edited by HansV - huge amount of white space removed from attached picture. Please don't post pictures larger than 640 by 480.

    I am trying to update a table field from a calculated control on a form. The form has a loan date and a returned date. I am calculating the difference in the 'After Update' event of the returned date control and receive the message in the attachment. The code is as follows: [daysout] = [returneddate] - [loandate]. Please advise. Thanks in advance.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Updating a table field from form (Access 2000)

    What is the Control Source of the DaysOut text box? It should be the DaysOut field from the table. If you have made it a calculated control, you can't update it.

  3. #3
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    Columbus, Ohio, USA
    Posts
    286
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Updating a table field from form (Access 2000)

    Thank you Hans. Life is good again. It was a calculated control.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •