NetTalk Central

Author Topic: File action description in NTWS 5.06  (Read 2704 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
File action description in NTWS 5.06
« 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
Rene Simons
NT14.14