Marc,


Use the following syntax:

Button.EEP USING button_value

Also, make sure that you have Button.EEP in the same directory.

On the other hand, if your object is to get the name of currently
focused field in a form, then try:

SET VAR vFieldName = .RBTI_Form_ColName

Using the Next Generation R:BASE 7.0 for Windows, you also have
the following options:

RBTI_Form_FormName to get the form name
RBTI_Form_TblName to get the table name
RBTI_Form_ColName to get the column name
RBTI_Form_ColValue to get the column value
RBTI_Form_VarName to get the variable name
RBTI_Form_VarValue to get the variable value
RBTI_DBGrid_Column to get the DB Grid column name

Enjoy the Unbounded Possibilities with Industrial-Strength,
Multi-User, True-Relational DBMS.

Very Best R:egards,

Razzak.


At 02:14 PM 11/13/2003 -0800, Marc Schluter wrote:


This should be simple but I can't seem to get it to
work.

I have a menu form with buttons.  The eep should get
the button name, close the window, then run a command
file in a case statement.

I see how the example works in Rrbyw4 but when I trace
my eep the var gets set to .%1 not the button name.

I use to use SET VAR vbutton =
(CVAL'form_field_name'))  but that doesn't seem to
work.  So, I replaced that with set var VmenuOption =
.%1 but no luck so far.

sorry about asking so many questions



Reply via email to