Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to scan/extract values from DBC
Message
 
 
À
29/07/2008 18:07:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01335076
Message ID:
01335146
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform