Page 1 of 1

GetTableNames returns empty list

Posted: Mon 24 Mar 2008 11:56
by digdagdigedag
hi,
i understand that GetTableNames MyDac 5.20 returns an empty list if no database is selected but even after i execute a query "USE TestDb" with an existing database, the function GetTableNames returns an empty string.
what may be wrong here ?
thanks
uwe

Posted: Mon 24 Mar 2008 12:40
by digdagdigedag
problem solved !

query "Use MyTestDb" is not sufficient but property Database of component TMyConnection must be set explicitly.