Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd behavior with AFIELDS function
Message
 
 
To
16/11/2008 09:29:58
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00035943
Message ID:
01362207
Views:
24
>>How can you get table field names preserving the case?
>
>You are hereby pronounced the Knight of VFP Archaeology. That message was 11 years old :).
>
>And the answer is: nikako. No way. You don't. They are written uppercase in the table header. VFP may decide to show them lowercase in some situations (like modify structure dialog), but that's just GUI. The same fields will come up uppercase in aFields(), Field(); lowercase in most of dbgetprop() and/or cursorgetprop() calls (I think, haven't tried too many), view designer and a few other cases.
>
>Just a matter of representation. Inside, they are uppercase.

Hi Dragan,

Thanks a lot for your answer. Yesterday at night I was browsing MSDN forum and I saw a question there about field cases. I thought I remembered this problem discussed here before (I guess I confused with ADIR()) and I made several searches. I didn't find anything, thus decided to re-open this old thread.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform