put any critical variables, views, etc in the on Before Design action in the 
Form Designer Menu>Layout>On Before Design Action.

This way they are declared before you run or edit the form while in the 
designer.

----- Original Message ----- 
From: "Dave McCann" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, February 16, 2012 3:01 PM
Subject: [RBASE-L] - Re: form variables changing type


: Thanks for the good tips.   I found one of my dotted variables declared
: BUT not getting defined for some odd reason when I go into Form
: Designer, even though it was in the On Before Start EEP as follows
: (R:Style checked ok):
:
: SET VAR vclno INTEGER=NULL
:
: I dropped out to R> and checked and it was not getting defined (there
: were several that were not when I checked them all with SHOW VAR) so I
: added the entire list of declared variables to the On Before Design
: Action EEP and then found all the variables were properly defined.
:
: Any further thoughts?
:
:
:
: On 2/15/2012 10:09 PM, A. Razzak Memon wrote:
: > At 10:53 PM 2/15/2012, Dave McCann wrote:
: >
: >> 99% sure they all are, but I'm going to re-check them all, maybe I'm
: >> missing one.
: >
: > Dave,
: >
: > A few suggestions and technique to correct variable data type in form
: > designer ...
: >
: > If a table-driven form include expression(s) that contain dotted
: > variable(s), you
: > have to make sure that the dotted variable(s) are pre-defined with
: > correct data
: > types. You can pre-define all global variables as "On Before Start EEP".
: >
: > Make sure to double-check the sequence of variables in the list. If a
: > variable "B"
: > is dependant on variable "A", you will have to make sure that the
: > variable "A" is
: > defined prior to variable "B", and so on. Check the sequence of
: > defined variables.
: >
: > Tip and Technique:
: >
: > In a situation where some of your variables suddenly change type -- 
: > from INTEGER to
: > BIT or TEXT to BITNOTE, etc., while in form designer, you can switch
: > to R> prompt,
: > use "CLEAR ALL VARIABLES" or "CLEAR VARIABLE varname" to clear the
: > variable, and
: > then switch back to the form designer expression builder window to
: > assign correct
: > data type.
: >
: > Hope that provides you with some blue's clues ...
: >
: > Very Best R:egards,
: >
: > Razzak.
: >
:
: -- 
: Dave McCann
: Classic Micro Systems
:
: 


Reply via email to