Patch level : 4.0
Files correlati : VE7.EXE Ricompilazione Demo : [ ] Commento : query personalizzata per AS00 git-svn-id: svn://10.65.10.50/trunk@14594 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
fe341219bc
commit
4bdbd2c7c5
@ -244,12 +244,12 @@ bool TGalileo_articoli::trasferisci()
|
||||
TString query =
|
||||
"SELECT RICOD, RDES1, RDES2, RDES3, RSUMS, RITIP \n"
|
||||
"FROM BRISO00F, BTABE00F \n"
|
||||
"WHERE (MID(TBDAT,9,1)=RITIP) AND (TBTIP='COD') AND (TBELE='RIS')";
|
||||
if (!_data.empty())
|
||||
{
|
||||
query << "AND (RIDTX >= ";
|
||||
query << _data.date2ansi() << ")";
|
||||
}
|
||||
"WHERE (SUBSTR(BTABE00F.TBDAT , 9 , 1)=RITIP) AND (BTABE00F.TBTIP='COD') AND (BTABE00F.TBELE='RIS')";
|
||||
if (!_data.empty())
|
||||
{
|
||||
query << " AND (RIDTX >= ";
|
||||
query << _data.date2ansi() << ")";
|
||||
}
|
||||
|
||||
TRecordset& recset = create_recordset(query);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user