R Ravichandran New Member Apr 8, 2008 #1 Hi, How can i get current working DB name in my progress program..
S sphipp Member Apr 8, 2008 #2 Use pdbname or ldbname. You need to do a loop around all connected Databases to make sure you catch the right DB. Code: def var idb as int no-undo. do idb = 1 to num-dbs: display pdbname (idb) FORM "x(20)" ldbname (idb) FORM "x(20)". end.
Use pdbname or ldbname. You need to do a loop around all connected Databases to make sure you catch the right DB. Code: def var idb as int no-undo. do idb = 1 to num-dbs: display pdbname (idb) FORM "x(20)" ldbname (idb) FORM "x(20)". end.