CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
Detecting Capital Version

 
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation
View previous topic :: View next topic  
Author Message
jamesc323



Joined: 22 Jul 2010
Posts: 21

PostPosted: Tue Jan 10, 2012 1:59 pm    Post subject: Detecting Capital Version Reply with quote

Hi Wil,

Is there a function in Capital scripting which will allow the detecting of whether the user is running version 7 or 8?
I discovered recently some of the legacy script running in version 7 requires slight modification to run in version 8, but currently the company is running version 7 & 8 concurrently.

Thanks
James
Back to top
View user's profile Send private message
COBS Tech Support



Joined: 09 Sep 2005
Posts: 651

PostPosted: Tue Jan 10, 2012 6:49 pm    Post subject: Reply with quote

Yes, do this:

Code:
If Version(3) = 8
   Echo("V8 is running")
Endif


For additional information consult the help topic: Version()
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB Template by Vereor
Protected by Anti-Spam ACP