Revert revision 3806

causing problem described here
https://sourceforge.net/forum/forum.php?thread_id=1889904&forum_id=610546
This commit is contained in:
Carlos Ruiz 2007-12-11 05:17:35 +00:00
parent 6a82ec29e0
commit e002ddd169
1 changed files with 0 additions and 13 deletions

View File

@ -932,19 +932,6 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
}
}
if(IsForm)
{
int AD_Column_ID = DB.getSQLValue(null, "SELECT AD_Column_ID WHERE M_Table_ID="+AD_Table_ID+" AND IsKey='Y'");
if(AD_Column_ID!= 0)
{
MColumn key = MColumn.get(ctx, AD_Column_ID);
TableName = key.getName().substring(0,key.getName().indexOf("_ID"));
AD_Table_ID = MTable.getTable_ID(TableName);
}
}
// Create Query from Parameters
MQuery query = null;
if (IsForm && pi.getRecord_ID() != 0) // Form = one record