Thanks Jan
I thought I saw something like this years ago
Marc
From: jan johansen
Sent: Tuesday, June 08, 2010 3:28 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: If (CVAL('VERSION')) > then ....
Marc,
You could try
IF (SGET(CVAL('BUILDVERSION'),3,1)) <> '7.6' THEN
CLS
PAUSE 1 USING ' You must use version 7.6 for this feature' +
CAPTION ' Version mismatch' +
ICON SERIOUS +
BUTTON 'OK' +
OPTION MESSAGE_FONT_NAME Arial +
|MESSAGE_FONT_SIZE 12 +
|MESSAGE_FONT_COLOR RED +
|MESSAGE_FONT_BOLD ON +
|BUTTON_FONT_COLOR GREEN
CLS
CLOSEWINDOW
EXIT
RETURN
ENDIF
Jan
-----Original Message-----
From: "MDRD" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 8 Jun 2010 14:29:12 -0500
Subject: [RBASE-L] - If (CVAL('VERSION')) > then ....
Hi
Is there a way to do
IF (CVAL('VERSION')) >= 7.6 THEN
or
IF (CVAL('BUILD')) >= ???? THEN
I only want offices using 7.6 to run a file and I do not want the 7.5 users
to be able to run this file.
Thanks
Marc