Dec 8, 2004 #1 kphu MIS May 30, 2002 346 US Happy Holidays All! Using access 2003. Query formula. YN: IIf([tablename]![DateOfService]>=10/10/2004,"y","n") I'm getting "y" for everything even though the date of service field is < 10/10/2004. Any help would be much appreciated. Ken
Happy Holidays All! Using access 2003. Query formula. YN: IIf([tablename]![DateOfService]>=10/10/2004,"y","n") I'm getting "y" for everything even though the date of service field is < 10/10/2004. Any help would be much appreciated. Ken
Dec 8, 2004 1 #2 lespaul Programmer Feb 4, 2002 7,083 US Is DateOfService defined as a date type? Have you tried using the date delimiters? YN: IIF(DateOfService >= #10/10/2004#, "Y", "N") Leslie Upvote 0 Downvote
Is DateOfService defined as a date type? Have you tried using the date delimiters? YN: IIF(DateOfService >= #10/10/2004#, "Y", "N") Leslie
Dec 8, 2004 Thread starter #3 kphu MIS May 30, 2002 346 US Hi Paul, Thanks for the response. I just tried it with the date delimiters. I forgot about that rule. Its working now. Thanks for the help. Ken Upvote 0 Downvote
Hi Paul, Thanks for the response. I just tried it with the date delimiters. I forgot about that rule. Its working now. Thanks for the help. Ken