NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on December 12, 2010, 11:46:25 AM

Title: File action description in NTWS 5.06
Post by: Rene Simons on December 12, 2010, 11:46:25 AM
Hi,

In the description tab of the update form I show a description of the "File Action"
I derive it from the var loc:act, by calling a function which converts the value of loc:act into a description.
See schematic example below.
Funny thing is that Change and Show result in the same description because loc:act seems to have the same value.
Is this how is is supposed to be?

Kind regards,
Rene

Example:

function getFileAction(string pActioncode),string

 case pActioncode
 of 1
    return('Insert')
 of 2
    return('Change')
 of 3
    return('Delete')
 of 4
    return('Copy')
 of 5
    return('Show')
 else
    return('')
 end