From 108b0b8ac6696ac240ed59bcd8e2060d3713816d Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 28 May 2004 11:16:48 +0000 Subject: [PATCH] Patch level : 2.1 nopatch Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@12126 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/recset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/recset.cpp b/include/recset.cpp index a39c58024..19c98df68 100755 --- a/include/recset.cpp +++ b/include/recset.cpp @@ -731,7 +731,7 @@ void TRecordset::parsed_text(TString& sql) const sql.cut(pos); if (var.type() == _datefld) - s = var.as_date().string(ANSI); + s.format("%ld", var.as_date().date2ansi()); else s = var.as_string(); if ((var.is_string() && s[0] != '\'') || var.is_null())