JDBC:ODBC:Access "search key was not found in any record" -
i have java application uses jdbc:odbc bridge connection dbf files linked microsoft access database (thus, i'm using driver connection microsoft access database)
there table named salfac, contains following fields: nro_fac, cod_ite, can_ite, prc_ite , dsc_ite among other columns. when perform following query: select nro_fac, cod_ite, can_ite, prc_ite, dsc_ite salfac
, without where
clause works fine. when execute following: select nro_fac, cod_ite, can_ite, prc_ite , dsc_ite nro_fac=151407
, program throws sqlexception
message the search key not found in record
.
the nro_fac column integer type column, using quotes results in syntax error.
i compacted , repaired entire database no avail. also, tested query directly on microsoft access 2010 , gave me same error. yesterday tested jdbc:odbc bridge dbf files directly , gave me same error same query.
there no blank spaces on tables names , columns names.
¿is there additional step in order make queries these work? need execute query where
clause. also, each dbf file ntx file. must these files well?
thanks in advance
edit: found yesterday might help. changed way search rows inserting entire dbf table content in ms-access temporary table, row row, , execute query in temprary table. inserted first 9 rows correctly, 10th row next row marked deleted , query crashed. "marked-as-deleted" rows affect query in ms-access and/or dbase? if does, possible ignore "marked-as-deleted" rows using jdbc:odbc bridge? also, must install clipper commands (like dbu
or pack
) in server (it doesn't have them)?