I would like to know how I can achieve the following (and if it is achievable by only using queries or vba has to be used).
I have an append query, one of the fields (lets call it 'A')it appends is a value.
The value of A is 0 or -1.
When A is -1 and B (which is a string) complies to a prespecified string (only the last part of the string has to comply). For example from the string 'autumn to spring' only 'to spring' has to be met.
If these conditions are met I would like that the query changes the value of A to -2.
Thanks in advance !!
I have an append query, one of the fields (lets call it 'A')it appends is a value.
The value of A is 0 or -1.
When A is -1 and B (which is a string) complies to a prespecified string (only the last part of the string has to comply). For example from the string 'autumn to spring' only 'to spring' has to be met.
If these conditions are met I would like that the query changes the value of A to -2.
Thanks in advance !!