Le 12/09/2012 04:36, John Harvey a écrit : > You might try using a statement like > > ...where (Date>=?startdate and date<=?enddate) Going further : BETWEEN(date, start, end) is a VFP function, not a SQL clause. You should write
WHERE date BETWEEN start AND end The Foxil _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/50501fff.5090...@wanadoo.fr ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.