...если конечно - правильно понял
SELECT a.CustomerNum, COUNT(*) As num, 'DN' + Format(Date(), 'yymmdd') + Format(num, '000') As Result
FROM
(SELECT DISTINCT loadlist_22112009.CustomerNum
FROM loadlist_22112009
WHERE loadlist_22112009.CustomerNum IS NOT NULL ) a
LEFT JOIN
(SELECT DISTINCT loadlist_22112009.CustomerNum
FROM loadlist_22112009
WHERE loadlist_22112009.CustomerNum IS NOT NULL) b
ON a.CustomerNum >= b.CustomerNum
GROUP BY a.CustomerNum
к слову - пишите DNYYMMDDXXX - а выводите DNDDMMYYXXX (DN241109001)