Hello Dan,

The semi-colon is the correct syntax to use when
issuing multiple R:BASE commands on the same line.


Example:

  IF v1 = 'YES' THEN; GOTO vEndLabel; ENDIF


Although it may have changed the outcome of your
command file, the problem may still exist in your
code.

Please double check your code.

John


At 01:00 PM 4/28/2009, you wrote:
I have figured out the custom eep problem. The help file is incorrect.

The semi-colon needs to be replaced with a carriage return. I use (CHAR(013)) for the carriage return.

One problem solved, one to go!!

Dan Goldberg



----------
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Tuesday, April 28, 2009 9:22 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - FW: [RBASE-L] - RE: createobject

I do initialize the button and can see it but the eep does not fire.

I noticed that the cut and paste did not do any justice on my code.

Here it is reformatted.

CREATEOBJECT bitbtn 'ceditunitbtn' 'RBASE_FORM' 345 525 96 41
SET VAR vquote = (CVAL('QUOTES'))
SET VAR vcommand1 TEXT = +
 ('PROPERTY rbase_form_action editviewunit '&vquote&' '&vquote&';RETURN')
PROPERTY ceditunitbtn 'Custom_EEP->OnClickEEP' .vcommand1
PROPERTY ceditunitbtn init true
PROPERTY ceditunitbtn caption 'Edit/View a Unit'

Dan Goldberg

Reply via email to