G
Guest
I need to write a query that updates a field, "Fixed" with a segment of a field, "Source." The specific segment of "Source" depends upon a value earlier in the field. If I were writing it as code for text box in a form, I'd probably write something like
If mid([source],56,5)="15464" then [Fixed]=mid([source],102,35
else i
If mid([source],56,5)="15463" then [Fixed]=mid([source],107,28
else i
Can anyone convert this so that I could use it in an update query?
If mid([source],56,5)="15464" then [Fixed]=mid([source],102,35
else i
If mid([source],56,5)="15463" then [Fixed]=mid([source],107,28
else i
Can anyone convert this so that I could use it in an update query?