While you'd type RegYear: Year(REG_DAT) into the graphical query builder
grid, the SQL that's generated is actually:
SELECT [Dossiers].NUMMER, Year(REG_DAT) AS RegYear FROM [Dossiers]

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Hi Randy,
>
[quoted text clipped - 41 lines]
>>
>> That way you will only get the year of the registration.
Willem - 15 May 2005 20:12 GMT
Hi Doug,
I wasn't aware of that, now it works fine, thanks!
Regards,
Willem
> While you'd type RegYear: Year(REG_DAT) into the graphical query builder
> grid, the SQL that's generated is actually:
[quoted text clipped - 48 lines]
>>>
>>> That way you will only get the year of the registration.