fawad001

Facing Data-file issue

Discussion created by fawad001 on Sep 27, 2017
Latest reply on Sep 28, 2017 by fawad001


Hi,

I have used some bunch of code which will search that application version is updated and equivalent to the data file or not.

 

I have put this script in file trigger.

 

First, I have set the global variable $$AppVersion = '006' so whenever the file gets opens, global variable will gonna initialized, after that another script will be performing...

if ($$AApVersion > pref::SoftwareVersion)

Show custom Dialog "DataFile Mismatch"

 

     If [Get(LastMessageChoice) = 2]

          Set Field[Pref::SoftwareVersion; $$AppVersion]

EndIf

More Read.. See the attached Image "Script_Datafile_Match.png"..

 

So after that script, I am getting message again and again and even when I click on OK. kindly view the attached 'DataFile_Message.png'

Outcomes