I have the following query in MS Access
SELECT CREAT.Subject, CREAT.CREAT, (IIf([CREAT.TargetDays]=\".\",\".\",Val([CREAT.TargetDays])*24)) AS TargetDays FROM CR
Try this
[FolderName] Like 'D[0-9]*'