Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AFields does not show what is should
Message
De
02/11/2020 02:50:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
02/11/2020 02:38:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676928
Message ID:
01676931
Vues:
41
Koen,

All columns starting with 10 are table, not field.

From VFP Help AFIELDS(), Return value
Values for table-specific properties in columns 10 through 16 only appear in the first row of the array. One row is created for each field in the table.

That is the comment box named Table comment on the 3th page of Modi Stru.

If you need to get (and set) the field commend only DBGETPROP / DBSETPROP will work, like
DBGETPROP('table.field',"FIELD",'comment')
You must parse this yourself. Note that you need table.field

>Lutz,
>The bo is calles Field Comment (Modify Table, the last Edit box) and in the aFields it is called "Table" Content. - Also dont know why this is done that way.
>Regards,
>Koen
>>Never used this.
>>
>>16 is table comment? So only amyARRAY(1,16) should hold a value
>>
>>Something odd in the comment?
>>
>>Try to remove the comment and see if
>>Copy structure extended
>>
>>runs.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform