Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back a page or two to re-sync the thread and this will then show latest posts. Thanks, Mike.

Access: auto insert date

  • 19-04-2005 12:37pm
    #1
    Closed Accounts Posts: 959 ✭✭✭


    Hi, I'm trying to insert a date automatically depending on the contents in another field.
    ie. I have a combo box ([Status]) with the choice of "OPEN" or "CLOSED", defaulting to "OPEN". My date field ([DateClosed]) has the following
    IIf([Status]="CLOSED",Date()).
    This works and inserts the date when "CLOSED" is selected, but the dateupdates the following day (today it will show 19/4/05, tomorrow 20/4/05 and so on).

    Is there any way I can lock this value? I have another date field ([LogDate]) where the default value is Date(). This behaves correctly in that the date won't change each day.

    Thanks, I know it's probably simple but I'm going round the houses here.


Advertisement