Hi,
I've been working on loads of queries for the past few weeks and have finally lost the plot.
I can't get the simplest queries to work anymore, please help!
I'm using Query by form but even replacing the form field with a static date I can't get the below to work.
New Referrals 16-18: IIf([Startdate]>6/5/2009,1,0)
regardless of the persons startDate before or after the above date access places a '1' in all records. I can get this to work by replacing the date with the number '45000'... wtf? When i do this some records will have 1 and some will have 0 (which is effectively what i want). But when I use a static date it puts a one in every record...
Please help because this doesn't make any sense to me
cheers
I've been working on loads of queries for the past few weeks and have finally lost the plot.
I can't get the simplest queries to work anymore, please help!
I'm using Query by form but even replacing the form field with a static date I can't get the below to work.
New Referrals 16-18: IIf([Startdate]>6/5/2009,1,0)
regardless of the persons startDate before or after the above date access places a '1' in all records. I can get this to work by replacing the date with the number '45000'... wtf? When i do this some records will have 1 and some will have 0 (which is effectively what i want). But when I use a static date it puts a one in every record...
Please help because this doesn't make any sense to me
cheers