William,
After opening your data base. Access "Database Explorer" Jim Bentley, American
Celiac Society
1-504-737-3293
From: William Korn <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tuesday, November 25, 2014 12:39 PM
Subject: [RBASE-L] - RE: Using Dialog Command (RE: Released: R:BASE 9.5
-R:CornucopiaEdition!)
Hi Razzak,
I copied and pasted as you asked. I even copied and pasted very basic dialogs
out of the help PDF and it does not seem to want to run a dialog.
Thank you, Have a great day!!
William A. Korn
General Manager
Safeway Training &
Transportation Services Inc.
[email protected]
(603)382-0600
"Special Transportation For Special People"
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon
Sent: Tuesday, November 25, 2014 1:12 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Using Dialog Command (RE: Released: R:BASE 9.5 -
R:CornucopiaEdition!)
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!
--