Hello,
I have an app with NT 11.40 and a local variable (byte, no validity checks and Entry ) on a NetWeb Form
My problem is that there are in a case statement, 8 choices under this local variable and the code is not recognizing the selection.
The variable is called lBreakType
The 8 options are displayed on a Form
and obviously depending on which option is selected, determines the code to run
The embed is Validate All 3End
I have not edited this code for some time, last leaving it working.
Is it possible NT11.40 now requires Updates to be on a different embed
I have tried the code on the new embed Validate Update but no difference.
I am repeatedly selecting lBreakType option = 4
(Excuse the stops they are there for a quick and dirty check)
Any guidance as to what I should be looking for?
Thanks
best,
Richard
an exert of the code:
IF p_web.GetSessionValue('lBreakType') = 0
STOP('lBreakType = 0' )
ELSIF p_web.GetSessionValue('lBreakType') > 1
STOP( 'lBreakType GREATER THAN 1' )
END
CASE lBreakType !Check whether a Break has been selected
OF 0 !Nothing Selected
loc:alert = p_web.translate('Selection of a Tea or Meal Break ') & ' ' & p_web.site.RequiredText
OF 1 !AM Tea Break Start Selected
do something and update