I am creating a program that accesses and displays files DBF ready reports from it. Necessarily have to use DBF as the program from which data is read only exports in this format. I think in the future to convert the DBFs imported into another format (Paradox, Firebird, etc.), but the moment I have to maintain compatibility in DBF format.
I'm using version 0.9.31 (03/03/2012) in Windows 7. Like the original program (which exports the data in DBF) only works on Windows, I can not do it in Linux.
Use the component TDbf 6.9 with the name "dados". Filter tried in different ways such as:
dados.filter: = 'DT_ENCERRA ='';
dados.fitlered: = true;
I tried also:
dados.filter: = 'DT_ENCERRA = '01 / 01/1900;
dados.fitlered: = true;
01/01/1900 is the standard for dates blank
and yet another way that I can not remember now.
I need the program in one of his reports display all records that have DT_ENCERRA blank. A failure that occurs is that it displays a blank report with no records in the report, and I know there are records that satisfy this condition. Other times he ignores the filter and displays all records in the report.
The reports are displayed through component LazReport version 0.9.8 that came with Lazarus.
Thank you very much all who respond and sorry for the size of the question, but tried to be as clear as possible this time.