Hi chaps and update. Barry, Eric and Alistair all came to the rescue and I learned something from each one. Thanks very much.
I'm using Devart for Mysql access. So what I have learned is, that, if you have a Master Detail relationship and you do a post with the Master table, the Detail table changes from edit to browse mode all by itself. !!!! Along the same lines if you have a Master Detail relationship and look to see if there is a Detail entry for a Master record and there isn't one, when you put the master into edit mode, it automatically creates one for you (or a virtual one) in the detail form so any conditional statement with the Detail table now returns true. So with Devarts components- things happen behind the scenes which can be hard to find. Thanks Wallace _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
