That's exactly what I was looking for. Thanks Razz
Tom Hart


________________________________
 From: A. Razzak Memon <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Thursday, January 9, 2014 9:05 AM
Subject: [RBASE-L] - Re: Variable length
 

At 09:39 AM 1/9/2014, Tom Hart wrote:

> How can I set a variable to a specific length, or can I

IF I understand your not very specific question ...

Here's how ...

-- Setting Variable Length for Variable Edit in Form Designer:

    While in Form Designer ...

    Variable Edit Control Properties | Effects | Maximum Length

    Define the appropriate length as you wish.

-- Setting Variable Length for Variable in a DIALOG Command:
-- A very simple example
   SET VAR vLastName TEXT = NULL
   DIALOG 'Enter Last Name' vLastName=16 vEndKey 1 +
   CAPTION 'Enter Last Name' ICON QUESTION +
   OPTION MESSAGE_FONT_NAME Tahoma +
   |MESSAGE_FONT_COLOR NAVY +
   |MESSAGE_FONT_SIZE 11 +
   |THEMENAME Longhorn
   IF .... THEN
      -- do what you have to do ..
   ENDIF
   RETURN

That's all there is to it!

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