Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias in grids
Message
De
20/08/2001 10:06:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00546144
Message ID:
00546194
Vues:
11
>Hi!
>
>In addition, it is popular approach to get value of the current cell using
>evaluate(grid.columnXXX.ControlSource) or using control source of corresponding text box that will also work when current alias is not what is used by grid.
>
>Anyway, take a look to the grid in run-time. From what I know, grid extends the field name by alais during initialization automatically. When I use grid based on the SELECT statement, I get the record source alias name for that select statement from the control source ;)
>
>>Does anyone know about any advantages - or disadvantages - of including an alias in a grid column? That is, Column1.ControlSource = "MyTable.MyField", vs. only "MyField".
>>
>>Hilmar.

Thank you.

One reason I asked is because I sometimes change from tables to views, and sometimes get into trouble when I forget to change the Alias.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform