Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Field Data....
Message
 
À
31/07/2000 17:54:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00399035
Message ID:
00399051
Vues:
13
>Using this example, I can list the Fields in a Fox table,
>but how can I get at the data in the field, either to
>present it, or to modify it.
>FIELD( ) Function Example
>
>CLOSE DATABASES
>OPEN DATABASE (HOME( ) + 'samples\data\testdata')
>USE customer && Opens Customer table
>
>CLEAR
>FOR gnCount = 1 TO FCOUNT( ) && Loop for number of fields
> ? FIELD(gnCount) && Display each field
>NEXT
>?
>? 'Number of fields: ' + ALLTRIM(STR(gnCount -1))

How do you want to present the data? There are several ways: Using controls (Grid, Textboxes, Preview, Browse). As to how to modify: Replace commands...
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform