Hello all I have a little formating problem. I have a query with the following code for one of the fields
This code should generate a number and allow me to use greater then less then to find groups of Fiscal Weeks. The problem is that access is seeing the result of this code as text so my searches are messed.
Is there a way to tell access what format I want the output to be?
Thanks
Code:
IIf(DatePart("ww",[InitShoppingWO]![WORDER_OUTSHOP_DATE],2,2)=53,"1",
(DatePart("ww",[InitShoppingWO]![WORDER_OUTSHOP_DATE],2,2)))
Is there a way to tell access what format I want the output to be?
Thanks
Comment