Remeartificer
Technical User
Need help with the "IF" command Please
I have a table called "tblTasks"
In this table I have two fields: "Status" and "PaymentDate"
My aim is to acheive the following: If the field for payment date is left empty then the status will read "OPEN", but if there is a date entered then status will read "CLOSED".
The data is displayed on a subform within a form in datasheet view. In the edit mode I have entered an unbound text box but I dont know what IF command to write.
I am sure this is a simple "IF" command but I cant get my head around it. Can someone please assist?
Thank you.
I have a table called "tblTasks"
In this table I have two fields: "Status" and "PaymentDate"
My aim is to acheive the following: If the field for payment date is left empty then the status will read "OPEN", but if there is a date entered then status will read "CLOSED".
The data is displayed on a subform within a form in datasheet view. In the edit mode I have entered an unbound text box but I dont know what IF command to write.
I am sure this is a simple "IF" command but I cant get my head around it. Can someone please assist?
Thank you.