At 01:02 PM 11/25/2014, William Korn wrote:

Thank you all for your suggestions, in doing so this is what I have.
It is still giving me a syntax error?

DIALOG 'Edit Student Pricing' vcont1 = 4 vendkey  1
CAPTION 'Please enter student Code' ICON INFO
OPTION MESSAGE_FONT_COLOR 2147483647 +
MESSAGE_BACK_COLOR -16777201 +
MESSAGE_FONT_NAME MS Sans Serif +
MESSAGE_FONT_SIZE 10|TRANSPARENCY 255 +
WINDOW_BACK_COLOR -16777201
EDIT USING contracts WHERE rcode = .vcont1
RETURN

Bill,

Assuming that the vCont1 is a TEXT value, try the very basic
example as follows (Just Copy and Paste the Code):

-- Start here ...
SET VARIABLE vCont1 TEXT = NULL
SET VARIABLE vEndKey TEXT = NULL

CLS
DIALOG 'Edit Student Pricing' vCont1 = 4 vEndKey 1 +
CAPTION 'Please enter student Code' ICON INFO +
OPTION MESSAGE_FONT_COLOR 2147483647 +
|MESSAGE_BACK_COLOR -16777201 +
|MESSAGE_FONT_NAME MS Sans Serif +
|MESSAGE_FONT_SIZE 10|TRANSPARENCY 255 +
|WINDOW_BACK_COLOR -16777201
CLS
EDIT USING contracts WHERE RCode = .vCont1
RETURN
-- End here

Note:

1. Pre-define all variable with correct data types

2. Add a pipe "|" character for all additional OPTION parameters

Hope that helps!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--


Reply via email to