using powerbuilder code:

1. can anyone help me on how can i read all the table names and its column from the current/active database without using pbcattbl

or

2. how can i populate pbcattbl so that i can use it to read tables and columns using most database like MS-SQL, mySQL, Access and etc...

thanks in advance...