--- oup/current/DataAccess/Access_OUP_ADB.pas 2007/07/17 22:27:16 241 +++ oup/current/DataAccess/Access_OUP_ADB.pas 2009/05/06 13:47:23 321 @@ -544,11 +544,10 @@ end; function TAccess_OUP_ADB.GetRawsForType(RawType: String): TRawDataList; var i: Integer; - rawlist: TRawDataList; begin SetLength(Result, 0); FQuery.SQL.Text := 'SELECT [src_id],[src_link_offset],[name],[size],[sep] FROM rawmap ' + - 'WHERE [type]="' + RawType + '" ORDER BY src_id ASC, src_link_offset ASC;'; + 'WHERE [type]="' + RawType + '" and [size]>0 ORDER BY src_id ASC, src_link_offset ASC;'; FQuery.Open; if FQuery.RecordCount > 0 then begin