Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Data Field List
Message
De
07/04/1998 16:50:27
 
 
À
07/04/1998 16:44:38
Ken Mears
Calif Dept of Fish & Game
Sacramento, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00090258
Message ID:
00090282
Vues:
27
>>>Is there a way to populate an array with the names of the fields used on a form, both parent and child, so that you have only the field names that actually have been placed on the form? I'm hoping for a magic bullet here<g>.TIA
>>
>>Start from:
>>=amembers(myarray,thisform,2)
>
>In the Load event of my form I placed "=amembers(fldarray,thisform.dataenvironment,2)", the array was populated with three elements, Cursor1, Cursor2, and Relation1. That's a lot closer. Any hints on how to drill down to the field names?

Having cursors you can get Alias properties, select appropriate alias and use AFIELDS() or FIELD() function.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform