To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=88577
------- Additional comments from [EMAIL PROTECTED] Mon May 5 16:53:34 +0000 2008 ------- Solution for this is not complex. 1) modify lcl_MayBeDBase( ) in sc/source/ui/unoobj/scdetect.cxx to accept foxpro dbfs as valid dbf-tables without penalty to severity of checking; 2) modify corresponding part of dbase driver (DTable.hxx, DTable.cxx) in connectivity/source/drivers/dbase to acts hand-by-hand. After patch we checks: 1) marker (1 byte at offset 0) corresponding to dbase driver source to guarantee that driver can read this type of dbf (NEW); 2) 0x0d after n-th field description (MODIFIED); 3) value of data offset (or header size, that is the same) (2 bytes at offset 8) checked more strictly (MODIFIED). It doesn't break current functionality. Test sequence: 1) start scalc; 2) from main menu select File/Open... or press Ctrl+O; 3) in "files of type" dropdown select "dBASE (*.dbf)"; 4) navigate to test_h.dbf from attachment's test_h.dbf or exam.dbf and press Open button; 5a) without patch you'll see ASCII filter parameters dialog (wrong behaviour); 5b) with patch you'll see dBASE encoding dialog (right behaviour). Import of exam.dbf will fail according to another bug http://qa.openoffice.org/issues/show_bug.cgi?id=87325, it's another problem and has another resolution. ps. Sorry for my English, I'm not a native speaker. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]