30-12-2012, 09:09 AM
جرب التعليمة على الصيغة
SQL.Text :='SELECT * FROM produit where date_entree between ''' + FormatDatTime('mm/dd/yyyy',DateTimePicker1.date) +''' and ''' + FormatDateTime('mm/dd/yyyy',DateTimePicker2.Date) +'''';
SQL.Text :='SELECT * FROM produit where date_entree between ''' + FormatDatTime('mm/dd/yyyy',DateTimePicker1.date) +''' and ''' + FormatDateTime('mm/dd/yyyy',DateTimePicker2.Date) +'''';

