Subj : Re: Duplicate Database name To : borland.public.cpp.borlandcpp From : Juris Date : Tue Oct 11 2005 10:23 am TEMP is NOT a special name! Please check in the Builder project - there is two TDatabase components with identical DatabaseName. They should not be identical. Juris "Ed Mulroy" wrote in message news:434b163e@newsgroups.borland.com... > It is possible that temp is a special name to whatever database you are > using. Try using a different name. > > . Ed > >> Cenk wrote in message >> news:434ae3fc@newsgroups.borland.com... >> >> I m getting Edatabase error : duplicate database name! >> Here is the code, >> >> Database1->DatabaseName = "TEMP"; >> Database1->Connected = true; >> >> DataSource1->DataSet = Table1; >> >> Table1->TableName = Edit1->Text; >> Table1->DatabaseName = "TEMP"; >> Table1->Active = true; >> >> DBGrid1->DataSource = DataSource1; >> DBGrid1->Columns->Add(); >> >> Bytheway, is there a way to dynamically open tables in a DBGrid??? thanks > > .