July 20, 2007 at 1:45 pm
<dataview name="frmListLeaves" caption="Leaves" ScrDescrip="frmListLeaves" pageheader="Leaves" type="DATA" toolbar="2" tablename="UserC" customadded="Y" chkEmployeeTable="Y" NewScreenType="LISTNOHISTORY" ShowSaveButton="" chkTrackHistory="" ManagerEmployee="EMPLOYEE" bRedirect="" RedirectForm="" RedirectCaption="" ReturnTo="" DeductionRuleName="" DeductionRuleDescrip="" SaveRuleName="" SaveRuleDescrip="" ListRuleName="" ListRuleDescrip="" Questionnaire="" QuestionnaireRuleName="" QuestionnaireRuleDescrip="" URLPlusApp="">
<snippet type="RAW" name="snippet1" description=""><![CDATA[
<SCRIPT LANGUAGE="JavaScript">
function calcvacation(objInput) {
var sUCAnnualLimit = document.all('UCAnnualLimit').value;
var sUCVac_YTD_Taken = document.all('UCVac_YTD_Taken').value;
objInput.value = sUCAnnualLimit - sUCVac_YTD_Taken;
}
</SCRIPT>
]]></snippet>
<rule type="load" name="CustomLoad">
<param name="TableName" type="default" default="UserC"/>
<param name="TablePrefix" type="default" default="Uc"/>
<param name="TableID" type="default" default="79"/>
<param name="lEbFlxID" type="SESSIONIDTOFLXIDEB"/>
<param name="type" type="default" default="LISTNOHISTORY"/>
<param name="flxid" type="request" value="flxid"/>
<param name="employeetable" type="default" default="Y"/>
<param name="trackhistory" type="default" default="N"/></rule>
<help name="frmListLeaves1"/><edit name="edit1"><field type="primaryheader" name="primaryheader1" caption="Projected Vacation"/>
<field name="UCVac_YTD_Earned" type="Field" caption="Vacation Accrued" coltype="TEXT" hideold="" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y"/>
<field name="UCVac_YTD_Taken" type="Field" caption="Vacation Taken" coltype="TEXT" hideold="" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y"/>
<field name="UCVac_Balance" type="Field" caption="Vacation Balance" coltype="TEXT" hideold="" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y"/>
<field name="ProjRVac" type="Field" caption="Projected Remaining Vacation" coltype="TEXT" hideold="Y" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y" visible="Y" fieldhelp="N" colkind="" onload='calcvacation(this)'/>
<field name="UCAnnualLimit" type="Field" caption="Projected Vacation" coltype="TEXT" hideold="" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y"/>
<field name="UCPers_Balance" type="Field" caption="Personal Balance" coltype="TEXT" hideold="N" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y" visible="Y" fieldhelp="N" colkind=""/>
<field name="UCSick_Balance" type="Field" caption="Sick Balance" coltype="TEXT" hideold="" colsize="10" maxlength="" readonly="Y" required="N" lookup="N" customfield="Y"/>
<button kind="cancel" name="btnCancel"/><list emptylist="There are no records to display." name="List1"><listcolumn value="UcFlxID" caption="ID" name="listcolumn1" visible="N"/></list></edit></dataview>
July 22, 2007 at 11:46 am
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply