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!
--

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to