On 09/13/13 10:15 AM, Gene Wirchenko wrote:
I have taken the sample program in the VFP help. How does it
determine what the data it will display is? It seems to be defaulting
to the entire current table as soon as it is instantiated.
How do I control this to display arbitrary tables or cursors and
only some columns?
We do roughly this:
USE <the table we want to browse, or a cursor, or ...>
DO BROWSEPROC with <list of column names to display>
The BROWSEPROC sets up the columns and DOes the form.
The BrowseProc is a bit complex, but it has saved our a$$e$ from having
to design a separate Grid for everything we might want to browse. My
ex-partner has something over 120 browses in a large application; they
all use a single BROWSEPROC as described above.
Dan Covill
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.