« first day (442 days earlier)      last day (376 days later) » 

10:33
i really hate sql sometimes. HOW is this an incorrect syntax near "="... HOW!?

UPDATE Name
SET SURNAME = REPLACE(SURNAME,'&','and')
WHERE SURNAME like 'Mrs %% & %'
or SURNAME LIKE 'Mr %% & %'
or SURNAME like 'Miss %% & %'
or SURNAME like 'prof %% & %'
or SURNAME like 'proff %% & %'
or SURNAME like 'professor %% & %'
or SURNAME like 'Mz %% & %'
or SURNAME like 'Ms %% & %'
or SURNAME like 'Master %% & %'
and SURNAME not = 'Mr Michael Reginald Barber & Mrs Josephine Barber & Mr Jonathan Michael Barber & Miss Kirsty Anne Ly'
^
needs to be "and not SURNAME ="
 
2 hours later…
12:14
@Steve101 That's what I was getting at with the placement of the NOT operator yesterday but I couldn't actually get it to error which was strange
NOT has to be followed by a boolean statement, which = obviously is not
whereas AND NOT SURNAME = ... is comparing the boolean [surname = ...]
basically "NOT" should always go before the statement you are testing
Or use <> instead
showoff :P
 
7 hours later…
19:08
Hallo
I need help as i'm a beginner in VBA
19:30
What are you doing?
 
2 hours later…
21:10
Hi @Weloo what's up?
 
2 hours later…
23:08
Hey Macro Man

« first day (442 days earlier)      last day (376 days later) »