I am trying to correct the following query:
***What I am trying to do is change this so it will not try and update any records with a [Date of Marriage] value of 'VOID' and also will not try and update any records that have a [Date of Marriage] value of only the year for example '1917' or '1980'.
***
How could I go about changing this query to reflect what I want? I appreciate any help. Thanks.
Code:
UPDATE marriages SET marriages.[Date of Marriage] = Format(CDate([Date of Marriage]),'m/d/yyyy') WHERE marriages.[Date of Marriage] Is Not Null OR marriages.[Date of Marriage] <> 'VOID';
***What I am trying to do is change this so it will not try and update any records with a [Date of Marriage] value of 'VOID' and also will not try and update any records that have a [Date of Marriage] value of only the year for example '1917' or '1980'.
***
How could I go about changing this query to reflect what I want? I appreciate any help. Thanks.
Comment