That would be wonderful...  I vote "YES".  Razzak says "...if you can
dream...".  ~Claudine :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Dennis McGrath
Sent: Friday, November 22, 2002 9:19 AM
To: [EMAIL PROTECTED]
Subject: RE: Labels

Tom,

>>This functionality and the requirement has been there since the first
>>release of R:BASE version 6.5.

I have had a brainstorm (I think.)

My opinion, the database should contain all it needs to unload, or be
maintained without outside code.

We can define views, forms, reports, etc to contain global variables.

Wouldn't it be wonderful if we could also define variable definitions
that
would be stored in the database?  That way they become an integral part
of
the database and we could never forget to define these required
variables.
Unloads would never trip over missing global variables.

The variable(s) would be created, when necessary, every time the
database
was opened.
The default value would only be supplied upon creation.
Those defined to be NOT NULL would never be allowed to be set to NULL.
CLEAR VAR or CLEAR ALL VAR would not destroy it.
We could LIST STATICVAR to see what static variables are defined.
DROP STATICVAR varname would remove the definition.

We could say, for example:

CREATE STATICVAR vStartDate DATE = (.#DATE) NOT NULL
vStartDate is always present, defaults to today, and cannot be set to
null.

CREATE STATICVAR vTemp TEXT
vTemp is always present, but does not have any default value and can be
NULL.

I think this would be an incredible enhancement.  Could I hope for it in
6.5?  7.0?

Feedback anyone?

--Dennis McGrath


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to