Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way to browse a table without field caption
Message
De
31/08/1998 00:44:23
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
31/08/1998 00:42:44
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129442
Message ID:
00131422
Vues:
29
>>>>I'd like to browse a table and be able to read the actual field name on the column header instead of the caption from the database. Any ideas?
>>>>
>>>>
>>>>Thanks,
>>>>
>>>>Gil
>>>Use a grid control or a view.
>>>Cetin
>>If you want to browse from a command box you could create a utility program. Perhaps something like
>>
>>*BROWSE_NC
>>PARAMETERS tablename
>>SELECT (tablename)
>>
>>STORE "BROW FIELD " TO browse_string
>>FOR I=1 TO FCOUNT()
>>STORE browse_string+ "(FIELD(" +ALLTRIM(STR(I))+ "):H=FIELD(" +ALLTRIM(STR(I))+")"
>>ENDFOR
>>&browse_string
>>RETURN
>>
>>Then call "BROWSE_NC(yourtable)" from the command box.
>>(Of course this would be limited to the max macro string length)
>Oops!
>I just saw the rest of the thread and saw that someone already came up with the same thing. Too late!
>//:^)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform