L
Lars Brownies
In a form's ApplyFilter event I test for the ApplyType as some fields have
to be adjusted on the form accordingly. Recently this stopped working and I
had no idea why. The ApplyType suddenly always returned 1 (setting a
filter), also when I was removing all filters (where it should have returned
0). After lots of trial and error I've found that the error is in the
underlying table and I tested with other tables of that backend, with the
same result. With new created tables in that backend it worked fine. I'm
guessing there is corruption involved though compact & repair seem to go
smoothly. I managed to solve the problem by copying the structures of all
tables, and importing all the 'bad' ones into them.
Anybody ever had similar problems? Anybody a clue about what could have
happened?
Thanks,
Lars
to be adjusted on the form accordingly. Recently this stopped working and I
had no idea why. The ApplyType suddenly always returned 1 (setting a
filter), also when I was removing all filters (where it should have returned
0). After lots of trial and error I've found that the error is in the
underlying table and I tested with other tables of that backend, with the
same result. With new created tables in that backend it worked fine. I'm
guessing there is corruption involved though compact & repair seem to go
smoothly. I managed to solve the problem by copying the structures of all
tables, and importing all the 'bad' ones into them.
Anybody ever had similar problems? Anybody a clue about what could have
happened?
Thanks,
Lars