NetTalk Central

Author Topic: Hide field too small to cater for my code?  (Read 3228 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Hide field too small to cater for my code?
« 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]
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: Hide field too small to cater for my code?
« Reply #1 on: April 17, 2011, 09:43:52 PM »
If you could perhaps abbreviate  p_web.GetSessionValue to p_web.GSV?<g>
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Hide field too small to cater for my code?
« Reply #2 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