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 there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Access: auto insert date

  • 19-04-2005 11:37am
    #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