At 04:01 PM 2/22/2010, Tony IJntema wrote:
I make use of DB Grid in a form.
In the Column properties you are able to create an expression.
In one way or another it is not clear to me what it does and
how it works.
What I like to achieve is that an employee ID is replaced by
the real name of the employee (Employee_name)
Is it possible to do this and if so what is the syntax?
If you choose the option Expression, you have to fill in the
needed table (Employee in my case) Then an expression is asked,
but I cannot find an example of this expression and it is not
explained how this expression should look like.
Tony,
On your Super Advanced Training Sample Applications USB drive
that you received during the last SAT Training in Switzerland,
take a look at the following application.
\ImplementingDBGridColumnPopupMenusAndHintExpressions
Application:
Implementing DBGrid Column Popup Menus and Hint Expressions
Database:
DBGridPH (7.6, Turbo V-8, R:BASE eXtreme 9.0 (32/64)
Associated Forms:
DBGridPopupHint_01
(DB Grid Column Properties - Hint Expressions)
DBGridPopupHint_02
(DB Grid Column Properties - Popup Menus and Hint Expressions)
This application demonstrates the use of exact features you are
looking to implement in your application.
Have fun exploring these features and the technique to implement
such options.
Very Best R:egards,
Razzak.