What database are you using? I am not sure how you can mimic the BDE functionality, but I have seen that problem before.
We use SQL Server, and this was often caused by a record being saved with bit fields having no value. A database default for all bit fields can be useful in eliminating the problem.
Good luck!
TealWren