Código Delphi [-]Query.Close; Query.Sql.Text := ' select factura, fecha ' + ' from facturas ' + ' where fecha = "' + FormatDateTime('yyyy-mm-dd',Fecha.Date) + '"'; Query.Open;
Query.Close; Query.Sql.Text := ' select factura, fecha ' + ' from facturas ' + ' where fecha = "' + FormatDateTime('yyyy-mm-dd',Fecha.Date) + '"'; Query.Open;