當前位置:工程項目OA系統(tǒng) > 學校OA管理系統(tǒng) > 相關系統(tǒng) > 培訓管理系統(tǒng)
開發(fā)篇-讓點名表自動顯示上課日期
泛普默認的點名表并沒有提供自動顯示上課日期功能,因為考慮到很多學校上課日期后期變化大等因素。
但是確實有些學校規(guī)律性很強,有這個需求。
所以今天我就帶大家,如何在泛普培訓學校管理軟件平臺上去實現(xiàn)自動顯示上課日期。
第一步:編輯點名表數(shù)據(jù)源:
代碼如下:
ACCESS數(shù)據(jù)庫語法:
table:LessonDegree
cmd: Select LessonDegree.StartDate from LessonDegree where LessonDegree.StartDate > now() and ClassID = @ClassID
GO
SQL數(shù)據(jù)庫語法:
table:LessonDegree
cmd: Select LessonDegree.StartDate from LessonDegree where LessonDegree.StartDate > getdate() and ClassID = @ClassID
GO
第二步編輯報表,將原來備注以上的重復出現(xiàn)的TD代碼替換成如下代碼:
代碼如下:
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[1]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[2]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[3]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[4]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[5]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[6]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[7]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[8]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[9]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[10]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[11]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[12]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[13]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[14]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[15]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[16]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[17]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[18]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[19]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[20]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[21]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[22]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[23]/StartDate)" /></td>
<td width="0.6cm" style="font-size:5;"><xsl:value-of select="String:FormatDate('{0:M-d}',ds/LessonDegree[24]/StartDate)" /></td>
最終效果:
- 1企業(yè)如何避免員工“翅膀硬了就飛”
- 2名企企業(yè)培訓工作經(jīng)驗
- 3企業(yè)管理人員培訓模式分析
- 4培訓管理系統(tǒng)的問題?
- 5培訓管理中的幾大誤區(qū)
- 6中小企業(yè)如何做好培訓工作
- 7業(yè)務員必須知道的管理知識:制定合理學習制度
- 8培訓管理軟件2015年春節(jié)假期安排
- 9有沒有破解版的培訓學校管理軟件下載?
- 10企業(yè)培訓要如何合理“砍課”
- 11拓展訓練心得感觸
- 12經(jīng)營人心更重要
- 13公司內部培訓怎樣做才有價值
- 14培訓的未來:在云端學習
- 15常見的企業(yè)培訓形式
- 16黃鶴樓酒:如何實現(xiàn)價格提升100倍
- 17培訓管理系統(tǒng)4.0.6版本說明
- 18如何選購培訓學校管理軟件?
- 19培訓管理軟件09年國慶中秋優(yōu)惠開始了!
- 20企業(yè)新員工培訓的主要措施
- 21中國培訓網(wǎng)•網(wǎng)絡商學院套餐方案——致力打造中國網(wǎng)絡培訓第一平臺
- 22培訓潛在的作用
- 23淺析企業(yè)人才梯隊搭建對企業(yè)持續(xù)發(fā)展的重要性
- 24培訓管理系統(tǒng)V5.0升級說明!
- 25開發(fā)篇-怎樣查詢年、月收入?
- 26培訓管理軟件五一假期安排通知
- 272.0890課程表、拍照等更新解讀!
- 28學習職場中12種動物精神
- 29“中國式培訓”的相關爭議
- 302010年端午節(jié)放假通知
成都公司:成都市成華區(qū)建設南路160號1層9號
重慶公司:重慶市江北區(qū)紅旗河溝華創(chuàng)商務大廈18樓