This is a dumb problem that Delphi/BDE has, but
when you apply cached updates on a table that is
either filtered by the UpdateRecordTypes property
or a Master/Detail relationship and currently
displays no records.
The hacked in solution is one or both of the
following:
1) If you are using the UpdateRecordTypes
property, include all record types before
actually applying the updates.
2) Walk the master table until the detail table
has records displayed, then apply the updates.
This is especially a pain if you have two detail
tables controlled by one master - then you may
have to walk the master and apply updates on the
details one at a time.
Eric Johnson
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
This is a dumb problem that Delphi/BDE has when you apply cached
updates on a table that is either filtered by the UpdateRecordTypes
property or a Master/Detail relationship and currently displays no
records.
The hacked in solution is one or both of the following:
1) If you are using the UpdateRecordTypes property, include all record
types before actually applying the updates.
2) Walk the master table until the detail table has records displayed,
then apply the updates.
Either way, make sure the table is displaying records before applying