Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias in grids
Message
From
20/08/2001 10:06:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00546144
Message ID:
00546194
Views:
19
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform