Create a query with the following Expression:
IIf(IsNumeric(Mid([PC],2,1)),Mid([PC],1,1),Mid([PC],1,2))
Where PC is the name of your postcode field
This goes in the Field Line of the query and is preceded by PC: or any chosen name.
It will return the first character or the first two...