Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to see the real field names
Message
From
10/08/1999 18:48:55
 
 
To
10/08/1999 16:23:04
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252003
Message ID:
00252262
Views:
9
>>Have seen it asked here before, but don't remember if anyone had an answer. Is there a way to get VFP to show the real field names in a browse, instead of the field caption?
>
>Try running a little program like this:
>
>PROCEDURE MyBrowse
>BROWSE NOWAIT LAST NAME ob
>FOR i = 1 TO ob.columncount
> ob.columns(i).header1.caption= LOWER(FIELD(M.i))
>NEXT
>
>Open the table you want and then DO MyBrowse

Thanks. There are all kinds of ways to do it with short procedures, I really wanted a way to do it quickly. I guess I can just put together a function that runs from my global PROC file that takes the table as a parameter...

MYBROWSE()

but (in the words of Andy Griebel) that's still too hard...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform