Ye I tried that already, but it didn't work.
Anyway, thanks for your answer, I make it work like this:
dim number
dim zeros
dim breaker
dim k
zeros=""
breaker=0
for k=1 to 9
if mid(mid(Dmax("[NUMBER]","ENQUETEURS","[NUMBER] between 'A000000000' and 'A999999999'"),2,9),k,1)=0 and breaker = 0...