NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan van Zyl on April 17, 2011, 09:35:58 PM

Title: Hide field too small to cater for my code?
Post by: Johan van Zyl on April 17, 2011, 09:35:58 PM
This is what I type in

(p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff'
AND p_web.GetSessionValue('LOG:TaskType')<>'StaffAvailability'
AND p_web.GetSessionValue('LOG:TaskType')<>'Incidents'
AND p_web.GetSessionValue('LOG:TaskType')<>'StaffDevelopment' 
AND p_web.GetSessionValue('LOG:TaskType')<>'EmployeePaymentQuery')

After compiling
loc:prompt = Choose((p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff'
AND p_web.GetSessionValue('LOG:TaskType')<>'StaffAvailability'
AND p_web.GetSessionValue('LOG:TaskType')<>'Incidents'
AND p_web.GetSessionValue('LOG:TaskType')<>'StaffDevelopment' 
AND p_web.GetSes,'',p_web.Translate('Employee Name:'))

see attached.

This is a showstopper Hope help is at hand.

Many Thanks

[attachment deleted by admin]
Title: Re: Hide field too small to cater for my code?
Post by: Johan van Zyl on April 17, 2011, 09:43:52 PM
If you could perhaps abbreviate  p_web.GetSessionValue to p_web.GSV?<g>
Title: Re: Hide field too small to cater for my code?
Post by: Bruce on April 17, 2011, 09:53:00 PM
GSV is already available as an abbreviation for GetSessionValue, and SSV is also available as an abbreviation for SetSessionValue.

cheers
Bruce