I have this table which has the patients name and there number for e.g
Joe Bloggs dv2054
Clark Kent dd2333
how would I in a query retrieve the patient number (dv2054, dd2333), is there a criteria i could use
If the patient number is has a fixed lenght (say 6)
then try this update querry
Code:
Update YourTable Set TheField1=left([TheField],len([TheField])-6), TheField2=right([TheField],6)
where TheField holds the patients name and there number, TheField1 shall hold the name and TheField2 the patient number. Add those last 2 fields to YourTable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.