Tip of the Month (January 2011) Associating a Name with a Variable Within your form, you may use variables. By just looking at the variable reference (@var(0), @var(1), etc.), there is no way to really know what kind of data it holds. Is it an employee id? An age? A record counter? Starting in Visual CE version 12.1, you can associate an alias (a.k.a. a name) with a variable. When entering an expression (such as in an Assign step in a macro), you normally would write an expression like:
Furthermore, you can make these aliases show up in a dropdown list that contains variables. You do this by putting entries in the WCEODBC.INI file (in the windows folder). The entries in the WCEODBC.INI file would look like:
0=Name 1=Age 2=Address This aliasing only works in Visual CE. Report CE does not allow you to provide aliases for variables. Previous Tips of the Month |