Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting info about tables and views
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Getting info about tables and views
Miscellaneous
Thread ID:
00216595
Message ID:
00216595
Views:
57
I'm trying to help a friend, who has no VFP experience. He's creating an application using C++ and Delphi and VFP tables...I still haven't figured out why this combination, except he knows those and not VFP (he could've learned VFP and been done already but....oh well).

At the moment he is trying to write a DLL with a procedure. The procedure's parameters will be:
a view or table name;
database name;
in-directory name;
outpt directory name.

The procedure will do the following:--

*If processing a table, for each field in the table retrieve the following:
the display format;
the display caption;
the display class name;
the field name;
the table name.

*If processing a view, access the view base tables then process as above. (That's what he asked for...)

*Place the output into table called FieldAttribute in the output directory given.

I've never made a DLL and I'm not sure how to pull the information from the table (especially the display class), are they just properties? Or is there a function that returns these things? And, how do I do this for the view?...I need the info from the base tables.
Next
Reply
Map
View

Click here to load this message in the networking platform