Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to scan/extract values from DBC
Message
 
 
To
29/07/2008 18:07:00
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01335076
Message ID:
01335146
Views:
17
Yelena,

Thank you very much. I will try your approach tomorrow; too tired to do anything today.

>Something like that?
>
>
>lcComments="MYCOMMENT"
>SELECT CAST(objectname as c(100)) as Field_name,SPACE(100) as cClass,SPACE(100) as cClassLib FROM <your.dbc> WHERE lcComments$UPPER(property)
>
>
>
>>I need to create a table/cursor of all fields in a DB container that have a certain value in Comment property. For each one of those fields I need to store value of Class and DisplayClassLibrary values.
>>
>>For example, say some of the fields have value in Comment property as "MYCOMMENT". So I would need to find all fields that have this value in the Comment property and output them to a table something like the following:
>>
>>FLD_NAME, C, 100
>>CLASS, C, 100
>>CLASSLIB, C, 100
>>
>>Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform