implementing dynamic select from Gui
db extended