Not enough sleep, need schema help

JustMe

Member
Not enough sleep I guess, I need schema help, I would like to automate some importing to the progress database. What I need is a way to get any specific table's fields and data-types. I found the _tables and _fields files but there doesn't seem to be a way to tie them together (I know that isn't true because the DB does it). I can see the DB Details view which is what I need but from a programs side. I have build something similar in mySQL but am falling short here.

sample of what I would like to do (yes this one is in SQL): select pub."_Db-Detail".* from PUB."_Db-Detail";

As always any and all help is appreciated!
 
Top