Larry, Bill,

 

Your input is what I needed.

 

Jim

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bill
Downall
Sent: Tuesday, May 18, 2010 9:40 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: dialog error

 

Jim,

 

Change the letter Y, all by itself at the end of the top line, to the
word YES.

 

Bill

On Tue, May 18, 2010 at 10:35 AM, Jim Belisle <[email protected]> wrote:

Larry,

 

I never heard of that. Below is the code.  The fourth from which line is
to to be an INTEGER?

 

SET VAR vmsgprod = +

('Select Product You want to Duplicate from Prodpart
table.'+(CHAR(013))+ +

'You will save this product as another table.'+(CHAR(013))+ +

'Start name of new table with a X.'+(CHAR(013))+ +

'DO NOT edit anything until next screen pops up.'+(CHAR(013)))

 

DIALOG .vmsgprod vmodold vEndKey Y +

CAPTION 'Create New product' +

ICON APP +

OPTION MESSAGE_FONT_COLOR 255 +

|MESSAGE_BACK_COLOR 65535 +

|TRANSPARENCY 255 +

|MESSAGE_FONT_NAME Times New Roman +

|MESSAGE_FONT_SIZE 10 +

|MESSAGE_BOLD ON +

|WINDOW_BACK_COLOR -16777201 +

|BUTTON_YES_CAPTION &Start +

|BUTTON_NO_CAPTION &Cancel +

|BUTTON_YES_COLOR 13056 +

|BUTTON_NO_COLOR 255 +

|BUTTON_YES_FONT_COLOR 16777215 +

|BUTTON_NO_FONT_COLOR 16777215

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence
Lustig
Sent: Tuesday, May 18, 2010 9:24 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: dialog error

 

<< 

I get an error each time that says: "Invalid number of rows for the
dialog region."

>> 

 

The fourth parameter after DIALOG must be an integer value that tells
R:Base how many rows to allow for the answer.  You must have something
other than integer in that location.

--

Larry

 

Reply via email to