SDT is the better way to go, but you could just loop through ADatabases(), ADBObjects() or AFiles() for free tables and then use AFIELD(). Or DISPLAY STRUCTURE and parse the result, but that would be wrong.
https://hackfox.github.io/section4/s4g666.html https://hackfox.github.io/section4/s4g284.html https://hackfox.github.io/section4/s4g292.html
On Wed, Mar 10, 2021 at 11:38 AM Vince Teachout vinny@caracal.net wrote:
My brain doesn't want to work, and I don't want to end up re-inventing the wheel.
I need to generate a basic data dictionary for a database -tables, fieldnames, data type and length.
I seem to recall that there was some built in way (or sample tool) that came with VFP that did this, but am blanking out. Anybody recall this?
Thank you!
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[excessive quoting removed by server]