Firstly, to all who answered my query regarding truncated text in a formatted memo field. I have resolved this problem... Thanks for the help it was really appreciated!
Problem.. I have a form with a text field, and I would like a have single word comment added to the text field, if certain criteria are met. The criteria being two specific days of month (19th or 20th)/ day of week and the value of another field on the form, which is a combi box that can only have the value of MORNING OR EVENING.
To explain further...
The combi field must = EVENING. If the day of month is 19th and day of week is Fri, then automatically add a comment of *** STATEMENTS *** to the text field.
Else
The combi field must = EVENING. If the day of month is 20th
and day of week is NOT Saturday or Sunday, then automatically add the comment of *** STATEMENTS *** to the text field.
I know of the Day(Date) function and the Weekday(Date) function, but I don't know how to construct the full logic statement, along with checking for a field value of EVENING, also I don't know how to then get the comment added to the text field.
I hope I've explained things, okay.. not to good at this.
Any help would be most welcome.
Problem.. I have a form with a text field, and I would like a have single word comment added to the text field, if certain criteria are met. The criteria being two specific days of month (19th or 20th)/ day of week and the value of another field on the form, which is a combi box that can only have the value of MORNING OR EVENING.
To explain further...
The combi field must = EVENING. If the day of month is 19th and day of week is Fri, then automatically add a comment of *** STATEMENTS *** to the text field.
Else
The combi field must = EVENING. If the day of month is 20th
and day of week is NOT Saturday or Sunday, then automatically add the comment of *** STATEMENTS *** to the text field.
I know of the Day(Date) function and the Weekday(Date) function, but I don't know how to construct the full logic statement, along with checking for a field value of EVENING, also I don't know how to then get the comment added to the text field.
I hope I've explained things, okay.. not to good at this.
Any help would be most welcome.