>But then lot of blank records will be added to the detail table which have to deleted everytime we save the data.
>Rajesh
You could hook into the DBC events to make sure the record is not blank before you add it.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi