John,
(cval('dbpath')) will display the full path to the database including
the database name.
SET VAR VCURRDIR = (CVAL('CURRDIR'))
SET VAR VDBPATH = (CVAL('DBPATH'))
R>SHOW VAR V%
Variable = Value Type
------------------ ------------------------------ --------
vdbpath = C:\RBTI\RBG7\decal1 TEXT
VCURRDIR = C:\RBTI\RBG7 TEXT
Dawn
-----Original Message-----
From: John Docherty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 9:15 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: Changing the RBASE caption
Sorry Razzak I should have read your earlier reply more closely - thanks
very much.
Regards,
John Docherty
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Thursday, 24 February 2005 3:05 p.m.
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: Changing the RBASE caption
At 09:01 PM 2/23/2005, John Docherty wrote:
>Thanks for that, but I really want to change the top caption that
>appears when you start up RBASE - the one with the RBASE Icon, followed
>by RBASE
7.1
>[Connected: databasename] - [R>Prompt] (or whatever tool is being
used).
John,
Look at the syntax of my earlier reply under the same subject line:
====
Try this:
SET VAR vMyCurrentDir TEXT = NULL
SET VAR vMyCurrentDir = (CVAL('CURRDIR')) SET CAPTION .vMyCurrentDir
RETURN
That should give you exactly what you are looking for.
And that is your tip of the day!
Very Best R:egards,
Razzak.
====
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.306 / Virus Database: 266.4.0 - Release Date: 22/02/2005