Hello to you all,
I am almost at the end of my database but there are still a couple of things I need to know. My tables and forms are all setup.
My DB tracks and registers Technical Documents (TD) (or just documents). These TD's are created by an employee and are the send to different departments.
Now, I have a couple of fields giving the specifications of the TD's (ordernumber, title, author..).
I (also) have a column/field in my main table to let me know if a TD has been finished. The field is called Final with Yes/No format.
I have a field to let me know the date the document is expected to be completed. Field is called DueDate, with date format.
Now, I would like a field that let's me know if the document is OnTime.
I have to write some simple code for this, making use of the fields: Final (Yes/NO), DueDate (Date) and Current (Date). This is where my problem lies as Im not good at writing code.
But technically it has to be something like this (I think).
OnTime=No, if Final=No and (at the same time) CurrentDate>Duedate. Otherwise OnTime=Yes
If one of you guys could help me write this as it should be, I would really appreciate it.
Oww by the way I realize that I have to create this field in a query (right? What kind of query?)
Thanks in advanced for your help.
I am almost at the end of my database but there are still a couple of things I need to know. My tables and forms are all setup.
My DB tracks and registers Technical Documents (TD) (or just documents). These TD's are created by an employee and are the send to different departments.
Now, I have a couple of fields giving the specifications of the TD's (ordernumber, title, author..).
I (also) have a column/field in my main table to let me know if a TD has been finished. The field is called Final with Yes/No format.
I have a field to let me know the date the document is expected to be completed. Field is called DueDate, with date format.
Now, I would like a field that let's me know if the document is OnTime.
I have to write some simple code for this, making use of the fields: Final (Yes/NO), DueDate (Date) and Current (Date). This is where my problem lies as Im not good at writing code.
But technically it has to be something like this (I think).
OnTime=No, if Final=No and (at the same time) CurrentDate>Duedate. Otherwise OnTime=Yes
If one of you guys could help me write this as it should be, I would really appreciate it.
Oww by the way I realize that I have to create this field in a query (right? What kind of query?)
Thanks in advanced for your help.