extracting first 2 characters from VAT number

wilkob

Registered User.
Local time
Today, 13:44
Joined
Jan 10, 2005
Messages
86
Hi,

I have a long list of customers / suppliers and their VAT numbers. I would like to create a query that shows only the customer/supplier number and the first 2 characters (countrycode) from their VAT number. for example

Supplier 3 VAT number NL80980808
endresult should show:
3 NL

Is there anyone that can help me out??
 
Use LEFT([VatNumber],2)
 

Users who are viewing this thread

Back
Top Bottom