VMS0010MF.dfm 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. object VMS0010M: TVMS0010M
  2. Left = 0
  3. Top = 0
  4. HorzScrollBar.Visible = False
  5. VertScrollBar.Visible = False
  6. Caption = 'VMS '#51221#48372#51228#44277#44396#44036' '#54788#51116' '#49548#53685#51221#48372
  7. ClientHeight = 824
  8. ClientWidth = 1443
  9. Color = clBtnFace
  10. DoubleBuffered = True
  11. Font.Charset = DEFAULT_CHARSET
  12. Font.Color = clWindowText
  13. Font.Height = -13
  14. Font.Name = #47569#51008' '#44256#46357
  15. Font.Style = []
  16. KeyPreview = True
  17. OldCreateOrder = False
  18. Position = poOwnerFormCenter
  19. ShowHint = True
  20. OnClose = FormClose
  21. OnShow = FormShow
  22. DesignSize = (
  23. 1443
  24. 824)
  25. PixelsPerInch = 96
  26. TextHeight = 17
  27. object ShpTitle: TShape
  28. Left = 4
  29. Top = 4
  30. Width = 1435
  31. Height = 40
  32. Anchors = [akLeft, akTop, akRight]
  33. Brush.Color = 14671839
  34. Pen.Color = 10849679
  35. Pen.Width = 2
  36. ExplicitWidth = 1269
  37. end
  38. object LblCaption: TLabel
  39. Left = 16
  40. Top = 10
  41. Width = 267
  42. Height = 23
  43. Caption = #53440#51060#53952' '
  44. Font.Charset = DEFAULT_CHARSET
  45. Font.Color = 4740964
  46. Font.Height = -17
  47. Font.Name = #47569#51008' '#44256#46357
  48. Font.Style = [fsBold]
  49. ParentFont = False
  50. ParentShowHint = False
  51. ShowHint = True
  52. end
  53. object ShpList: TShape
  54. Left = 4
  55. Top = 50
  56. Width = 1435
  57. Height = 768
  58. Anchors = [akLeft, akTop, akRight, akBottom]
  59. Pen.Color = 10849679
  60. Pen.Width = 2
  61. ExplicitWidth = 1436
  62. ExplicitHeight = 766
  63. end
  64. object BtnClose: TcxButton
  65. Left = 1349
  66. Top = 11
  67. Width = 80
  68. Height = 25
  69. Cursor = crHandPoint
  70. Hint = #45803#44592
  71. Anchors = [akTop, akRight]
  72. Caption = #45803#44592
  73. Colors.Default = 10737865
  74. TabOrder = 0
  75. Font.Charset = DEFAULT_CHARSET
  76. Font.Color = clBlack
  77. Font.Height = -13
  78. Font.Name = #47569#51008' '#44256#46357
  79. Font.Style = [fsBold]
  80. ParentFont = False
  81. OnClick = BtnCloseClick
  82. end
  83. object EdFocus: TEdit
  84. Left = -10
  85. Top = -10
  86. Width = 2
  87. Height = 25
  88. ImeName = 'Microsoft Office IME 2007'
  89. TabOrder = 1
  90. Text = 'EdFocus'
  91. end
  92. object PnlBack: TPanel
  93. Left = 12
  94. Top = 56
  95. Width = 1417
  96. Height = 755
  97. Anchors = [akLeft, akTop, akRight, akBottom]
  98. BevelOuter = bvNone
  99. ParentBackground = False
  100. ParentColor = True
  101. TabOrder = 2
  102. object cxGroupBox3: TcxGroupBox
  103. Left = 0
  104. Top = 0
  105. Align = alClient
  106. Caption = #9654' '#54788#51116' '#49548#53685#51221#48372
  107. Style.BorderColor = clCaptionText
  108. Style.Shadow = False
  109. Style.TextColor = clWindowText
  110. Style.TextStyle = [fsBold]
  111. TabOrder = 0
  112. Height = 755
  113. Width = 1417
  114. object CxList: TcxGrid
  115. Left = 3
  116. Top = 19
  117. Width = 1411
  118. Height = 726
  119. Align = alClient
  120. TabOrder = 0
  121. object TvVmsIfsc: TcxGridDBTableView
  122. DataController.DataSource = DSVmsIfsc
  123. DataController.Summary.DefaultGroupSummaryItems = <>
  124. DataController.Summary.FooterSummaryItems = <>
  125. DataController.Summary.SummaryGroups = <>
  126. OptionsCustomize.ColumnsQuickCustomization = True
  127. OptionsData.CancelOnExit = False
  128. OptionsData.Deleting = False
  129. OptionsData.DeletingConfirmation = False
  130. OptionsData.Editing = False
  131. OptionsData.Inserting = False
  132. OptionsView.Indicator = True
  133. object TvVmsIfscColumn1: TcxGridDBColumn
  134. Caption = 'VMS '#48264#54840
  135. DataBinding.FieldName = 'VMS_CTLR_NMBR'
  136. PropertiesClassName = 'TcxLabelProperties'
  137. Properties.Alignment.Horz = taCenter
  138. Properties.Alignment.Vert = taVCenter
  139. Visible = False
  140. GroupIndex = 0
  141. HeaderAlignmentHorz = taCenter
  142. HeaderAlignmentVert = vaCenter
  143. Width = 50
  144. end
  145. object TvVmsIfscColumn2: TcxGridDBColumn
  146. Caption = 'VMS ID'
  147. DataBinding.FieldName = 'VMS_CTLR_ID'
  148. PropertiesClassName = 'TcxLabelProperties'
  149. Properties.Alignment.Horz = taCenter
  150. Properties.Alignment.Vert = taVCenter
  151. Visible = False
  152. HeaderAlignmentHorz = taCenter
  153. HeaderAlignmentVert = vaCenter
  154. end
  155. object TvVmsIfscColumn3: TcxGridDBColumn
  156. Caption = 'VMS '#47749
  157. DataBinding.FieldName = 'VMS_NM'
  158. PropertiesClassName = 'TcxLabelProperties'
  159. Properties.Alignment.Vert = taVCenter
  160. HeaderAlignmentHorz = taCenter
  161. HeaderAlignmentVert = vaCenter
  162. Width = 150
  163. end
  164. object TvVmsIfscColumn4: TcxGridDBColumn
  165. Caption = #44396#44036' ID'
  166. DataBinding.FieldName = 'VMS_IFSC_ID'
  167. PropertiesClassName = 'TcxLabelProperties'
  168. Properties.Alignment.Horz = taCenter
  169. Properties.Alignment.Vert = taVCenter
  170. HeaderAlignmentHorz = taCenter
  171. HeaderAlignmentVert = vaCenter
  172. Width = 60
  173. end
  174. object TvVmsIfscColumn15: TcxGridDBColumn
  175. Caption = #44396#44036#44600#51060'(m)'
  176. DataBinding.FieldName = 'SECT_LNGT'
  177. PropertiesClassName = 'TcxLabelProperties'
  178. Properties.Alignment.Horz = taRightJustify
  179. Properties.Alignment.Vert = taVCenter
  180. HeaderAlignmentHorz = taCenter
  181. HeaderAlignmentVert = vaCenter
  182. Width = 80
  183. end
  184. object TvVmsIfscColumn5: TcxGridDBColumn
  185. Caption = #54364#52636#50864#49440#49692#50948
  186. DataBinding.FieldName = 'DSPL_PRRT'
  187. PropertiesClassName = 'TcxLabelProperties'
  188. Properties.Alignment.Horz = taCenter
  189. Properties.Alignment.Vert = taVCenter
  190. Visible = False
  191. HeaderAlignmentHorz = taCenter
  192. HeaderAlignmentVert = vaCenter
  193. end
  194. object TvVmsIfscColumn11: TcxGridDBColumn
  195. Caption = #46020#47196#47749
  196. DataBinding.FieldName = 'ROAD_NM'
  197. PropertiesClassName = 'TcxLabelProperties'
  198. Properties.Alignment.Vert = taVCenter
  199. Visible = False
  200. HeaderAlignmentHorz = taCenter
  201. HeaderAlignmentVert = vaCenter
  202. Width = 150
  203. end
  204. object TvVmsIfscColumn6: TcxGridDBColumn
  205. Caption = #44396#44036#47749
  206. DataBinding.FieldName = 'VMS_IFSC_NM'
  207. PropertiesClassName = 'TcxLabelProperties'
  208. Properties.Alignment.Vert = taVCenter
  209. HeaderAlignmentHorz = taCenter
  210. HeaderAlignmentVert = vaCenter
  211. Width = 180
  212. end
  213. object TvVmsIfscColumn7: TcxGridDBColumn
  214. Caption = #49884#51216#47749
  215. DataBinding.FieldName = 'DSPL_STRT_NODE_NM'
  216. PropertiesClassName = 'TcxLabelProperties'
  217. Properties.Alignment.Vert = taVCenter
  218. HeaderAlignmentHorz = taCenter
  219. HeaderAlignmentVert = vaCenter
  220. Width = 180
  221. end
  222. object TvVmsIfscColumn8: TcxGridDBColumn
  223. Caption = #51333#51216#47749
  224. DataBinding.FieldName = 'DSPL_END_NODE_NM'
  225. PropertiesClassName = 'TcxLabelProperties'
  226. Properties.Alignment.Vert = taVCenter
  227. HeaderAlignmentHorz = taCenter
  228. HeaderAlignmentVert = vaCenter
  229. Width = 180
  230. end
  231. object TvVmsIfscColumn17: TcxGridDBColumn
  232. Caption = #51648#51216#47749
  233. DataBinding.FieldName = 'SPOT_NM'
  234. PropertiesClassName = 'TcxLabelProperties'
  235. Properties.Alignment.Vert = taVCenter
  236. Visible = False
  237. HeaderAlignmentHorz = taCenter
  238. HeaderAlignmentVert = vaCenter
  239. end
  240. object TvVmsIfscColumn9: TcxGridDBColumn
  241. Caption = #50864#54924#46020#47196' ID'
  242. DataBinding.FieldName = 'DETR_ID'
  243. PropertiesClassName = 'TcxLabelProperties'
  244. Properties.Alignment.Horz = taCenter
  245. Properties.Alignment.Vert = taVCenter
  246. Visible = False
  247. HeaderAlignmentHorz = taCenter
  248. HeaderAlignmentVert = vaCenter
  249. VisibleForCustomization = False
  250. end
  251. object TvVmsIfscColumn10: TcxGridDBColumn
  252. Caption = #52629
  253. DataBinding.FieldName = 'AXIS_YN'
  254. PropertiesClassName = 'TcxLabelProperties'
  255. Properties.Alignment.Horz = taCenter
  256. Properties.Alignment.Vert = taVCenter
  257. Visible = False
  258. HeaderAlignmentHorz = taCenter
  259. HeaderAlignmentVert = vaCenter
  260. end
  261. object TvVmsIfscColumn12: TcxGridDBColumn
  262. Caption = #44032#44277#49884#44033
  263. DataBinding.FieldName = 'PRCN_DT'
  264. PropertiesClassName = 'TcxLabelProperties'
  265. Properties.Alignment.Horz = taCenter
  266. Properties.Alignment.Vert = taVCenter
  267. HeaderAlignmentHorz = taCenter
  268. HeaderAlignmentVert = vaCenter
  269. Width = 150
  270. end
  271. object TvVmsIfscColumn16: TcxGridDBColumn
  272. Caption = #49548#53685#46321#44553
  273. DataBinding.FieldName = 'CMTR_GRAD_CD'
  274. PropertiesClassName = 'TcxLabelProperties'
  275. Properties.Alignment.Horz = taCenter
  276. Properties.Alignment.Vert = taVCenter
  277. OnCustomDrawCell = TvVmsIfscColumn16CustomDrawCell
  278. HeaderAlignmentHorz = taCenter
  279. HeaderAlignmentVert = vaCenter
  280. Width = 70
  281. end
  282. object TvVmsIfscColumn13: TcxGridDBColumn
  283. Caption = #49549#46020
  284. DataBinding.FieldName = 'SPED'
  285. PropertiesClassName = 'TcxLabelProperties'
  286. Properties.Alignment.Horz = taRightJustify
  287. Properties.Alignment.Vert = taVCenter
  288. HeaderAlignmentHorz = taCenter
  289. HeaderAlignmentVert = vaCenter
  290. Width = 50
  291. end
  292. object TvVmsIfscColumn14: TcxGridDBColumn
  293. Caption = #53685#54665#49884#44036'('#48516')'
  294. DataBinding.FieldName = 'TRVL_HH'
  295. PropertiesClassName = 'TcxLabelProperties'
  296. Properties.Alignment.Horz = taRightJustify
  297. Properties.Alignment.Vert = taVCenter
  298. HeaderAlignmentHorz = taCenter
  299. HeaderAlignmentVert = vaCenter
  300. Width = 80
  301. end
  302. end
  303. object TvIfsc: TcxGridDBTableView
  304. DataController.DataSource = DSIfsc
  305. DataController.DetailKeyFieldNames = 'VMS_IFSC_ID'
  306. DataController.MasterKeyFieldNames = 'VMS_IFSC_ID'
  307. DataController.Summary.DefaultGroupSummaryItems = <>
  308. DataController.Summary.FooterSummaryItems = <>
  309. DataController.Summary.SummaryGroups = <>
  310. OptionsCustomize.ColumnsQuickCustomization = True
  311. OptionsData.CancelOnExit = False
  312. OptionsData.Deleting = False
  313. OptionsData.DeletingConfirmation = False
  314. OptionsData.Editing = False
  315. OptionsData.Inserting = False
  316. OptionsView.GroupByBox = False
  317. OptionsView.Indicator = True
  318. object TvIfscColumn1: TcxGridDBColumn
  319. Caption = #44396#44036' ID'
  320. DataBinding.FieldName = 'VMS_IFSC_ID'
  321. PropertiesClassName = 'TcxLabelProperties'
  322. Properties.Alignment.Horz = taCenter
  323. Properties.Alignment.Vert = taVCenter
  324. Visible = False
  325. HeaderAlignmentHorz = taCenter
  326. HeaderAlignmentVert = vaCenter
  327. Width = 60
  328. end
  329. object TvIfscColumn12: TcxGridDBColumn
  330. Caption = #49692#49436
  331. DataBinding.FieldName = 'ORD'
  332. PropertiesClassName = 'TcxLabelProperties'
  333. Properties.Alignment.Horz = taCenter
  334. Properties.Alignment.Vert = taVCenter
  335. Width = 40
  336. end
  337. object TvIfscColumn11: TcxGridDBColumn
  338. Caption = #51228#44277#44396#44036' ID'
  339. DataBinding.FieldName = 'IFSC_ID'
  340. PropertiesClassName = 'TcxLabelProperties'
  341. Properties.Alignment.Horz = taCenter
  342. Properties.Alignment.Vert = taVCenter
  343. HeaderAlignmentHorz = taCenter
  344. HeaderAlignmentVert = vaCenter
  345. Width = 100
  346. end
  347. object TvIfscColumn2: TcxGridDBColumn
  348. Caption = #44396#44036#44600#51060'(m)'
  349. DataBinding.FieldName = 'SECT_LNGT'
  350. PropertiesClassName = 'TcxLabelProperties'
  351. Properties.Alignment.Horz = taRightJustify
  352. Properties.Alignment.Vert = taVCenter
  353. HeaderAlignmentHorz = taCenter
  354. HeaderAlignmentVert = vaCenter
  355. Width = 80
  356. end
  357. object TvIfscColumn3: TcxGridDBColumn
  358. Caption = #44396#44036#47749
  359. DataBinding.FieldName = 'IFSC_NM'
  360. PropertiesClassName = 'TcxLabelProperties'
  361. Properties.Alignment.Vert = taVCenter
  362. HeaderAlignmentHorz = taCenter
  363. HeaderAlignmentVert = vaCenter
  364. Width = 180
  365. end
  366. object TvIfscColumn4: TcxGridDBColumn
  367. Caption = #49884#51216#47749
  368. DataBinding.FieldName = 'STRT_NM'
  369. PropertiesClassName = 'TcxLabelProperties'
  370. Properties.Alignment.Vert = taVCenter
  371. HeaderAlignmentHorz = taCenter
  372. HeaderAlignmentVert = vaCenter
  373. Width = 180
  374. end
  375. object TvIfscColumn5: TcxGridDBColumn
  376. Caption = #51333#51216#47749
  377. DataBinding.FieldName = 'END_NM'
  378. PropertiesClassName = 'TcxLabelProperties'
  379. Properties.Alignment.Vert = taVCenter
  380. HeaderAlignmentHorz = taCenter
  381. HeaderAlignmentVert = vaCenter
  382. Width = 180
  383. end
  384. object TvIfscColumn6: TcxGridDBColumn
  385. Caption = #44032#44277#49884#44033
  386. DataBinding.FieldName = 'PRCN_DT'
  387. PropertiesClassName = 'TcxLabelProperties'
  388. Properties.Alignment.Horz = taCenter
  389. Properties.Alignment.Vert = taVCenter
  390. HeaderAlignmentHorz = taCenter
  391. HeaderAlignmentVert = vaCenter
  392. Width = 150
  393. end
  394. object TvIfscColumn7: TcxGridDBColumn
  395. Caption = #49548#53685#46321#44553
  396. DataBinding.FieldName = 'CMTR_GRAD_CD'
  397. PropertiesClassName = 'TcxLabelProperties'
  398. Properties.Alignment.Horz = taCenter
  399. Properties.Alignment.Vert = taVCenter
  400. OnCustomDrawCell = TvVmsIfscColumn16CustomDrawCell
  401. HeaderAlignmentHorz = taCenter
  402. HeaderAlignmentVert = vaCenter
  403. Width = 70
  404. end
  405. object TvIfscColumn8: TcxGridDBColumn
  406. Caption = #49549#46020
  407. DataBinding.FieldName = 'SPED'
  408. PropertiesClassName = 'TcxLabelProperties'
  409. Properties.Alignment.Horz = taRightJustify
  410. Properties.Alignment.Vert = taVCenter
  411. HeaderAlignmentHorz = taCenter
  412. HeaderAlignmentVert = vaCenter
  413. Width = 50
  414. end
  415. object TvIfscColumn9: TcxGridDBColumn
  416. Caption = #53685#54665#49884#44036'('#52488')'
  417. DataBinding.FieldName = 'TRVL_HH'
  418. PropertiesClassName = 'TcxLabelProperties'
  419. Properties.Alignment.Horz = taRightJustify
  420. Properties.Alignment.Vert = taVCenter
  421. HeaderAlignmentHorz = taCenter
  422. HeaderAlignmentVert = vaCenter
  423. Width = 80
  424. end
  425. object TvIfscColumn10: TcxGridDBColumn
  426. Caption = #54056#53556#49549#46020
  427. DataBinding.FieldName = 'PTRN_SPED'
  428. PropertiesClassName = 'TcxLabelProperties'
  429. Properties.Alignment.Horz = taRightJustify
  430. Properties.Alignment.Vert = taVCenter
  431. Visible = False
  432. HeaderAlignmentHorz = taCenter
  433. HeaderAlignmentVert = vaCenter
  434. Width = 50
  435. end
  436. end
  437. object CxListLevel1: TcxGridLevel
  438. GridView = TvVmsIfsc
  439. object CxListLevel2: TcxGridLevel
  440. GridView = TvIfsc
  441. end
  442. end
  443. end
  444. end
  445. end
  446. object BtnSearch: TcxButton
  447. Left = 1262
  448. Top = 11
  449. Width = 80
  450. Height = 25
  451. Cursor = crHandPoint
  452. Hint = #51312#54924
  453. Anchors = [akTop, akRight]
  454. Caption = #51312#54924
  455. Colors.Default = 10737865
  456. TabOrder = 3
  457. Font.Charset = DEFAULT_CHARSET
  458. Font.Color = clBlack
  459. Font.Height = -13
  460. Font.Name = #47569#51008' '#44256#46357
  461. Font.Style = [fsBold]
  462. ParentFont = False
  463. OnClick = BtnSearchClick
  464. end
  465. object ChkExpand: TcxCheckBox
  466. Tag = 9
  467. Left = 1301
  468. Top = 89
  469. Cursor = crHandPoint
  470. Hint = #44536#47353' '#47785#47197' '#54869#51109' '#46608#45716' '#52712#49548
  471. Anchors = [akTop, akRight]
  472. Caption = #54869#51109'/'#52629#49548
  473. ParentBackground = False
  474. ParentColor = False
  475. ParentShowHint = False
  476. ShowHint = True
  477. State = cbsChecked
  478. Style.BorderColor = 9868950
  479. Style.BorderStyle = ebsThick
  480. Style.Color = 14671839
  481. Style.Shadow = False
  482. TabOrder = 4
  483. Transparent = True
  484. OnClick = ChkExpandClick
  485. Width = 85
  486. end
  487. object TmrShow: TTimer
  488. Enabled = False
  489. OnTimer = TmrShowTimer
  490. Left = 876
  491. Top = 8
  492. end
  493. object DSVmsIfsc: TDataSource
  494. AutoEdit = False
  495. DataSet = ADOVmsIfsc
  496. Left = 136
  497. Top = 176
  498. end
  499. object ADOVmsIfsc: TADOQuery
  500. LockType = ltReadOnly
  501. Parameters = <>
  502. Prepared = True
  503. SQL.Strings = (
  504. 'SELECT A.VMS_CTLR_NMBR, A.VMS_CTLR_ID, A.VMS_NM,'
  505. ' B.VMS_IFSC_ID, B.DSPL_PRRT,'
  506. ' C.VMS_IFSC_NM, C.DSPL_STRT_NODE_NM, C.DSPL_END_NODE_NM,'
  507. ' C.DETR_ID, C.AXIS_YN, C.ROAD_NM, C.SPOT_NM, C.USE_YN,'
  508. ' TO_CHAR(TO_DATE(D.RGST_DT, '#39'YYYYMMDDHH24MISS'#39'), '#39'YYYY-MM-' +
  509. 'DD HH24:MI:SS'#39') AS PRCN_DT,'
  510. ' D.SPED, D.TRVL_HH, '
  511. ' DECODE(D.CMTR_GRAD_CD, '#39'1'#39', '#39'1.'#49548#53685#50896#54876#39', '#39'2'#39', '#39'2.'#51648#52404#39', '#39'3'#39', '#39 +
  512. '3.'#51221#52404#39', '#39'0.'#51221#48372#50630#51020#39') AS CMTR_GRAD_CD,'
  513. ' E.SECT_LNGT'
  514. ' FROM TB_VMS_CTLR A,'
  515. ' TB_VMS_RLTN_IFSC B,'
  516. ' TB_VMS_IFSC C,'
  517. ' TB_VMS_IFSC_TRAF D,'
  518. ' (SELECT A.VMS_IFSC_ID, SUM(C.SECT_LNGT) AS SECT_LNGT'
  519. ' FROM TB_VMS_IFSC A,'
  520. ' TB_VMS_IFSC_RLTN_IFSC B,'
  521. ' TB_IFSC C'
  522. ' WHERE A.VMS_IFSC_ID = B.VMS_IFSC_ID'
  523. ' AND B.IFSC_ID = C.IFSC_ID'
  524. ' AND A.USE_YN = '#39'Y'#39
  525. ' GROUP BY A.VMS_IFSC_ID'
  526. ' ) E'
  527. ' WHERE A.DEL_YN = '#39'N'#39
  528. ' AND A.VMS_CTLR_NMBR = B.VMS_CTLR_NMBR'
  529. ' AND B.VMS_IFSC_ID = C.VMS_IFSC_ID'
  530. ' AND C.USE_YN = '#39'Y'#39
  531. ' AND C.VMS_IFSC_ID = D.VMS_IFSC_ID'
  532. ' AND D.VMS_IFSC_ID = E.VMS_IFSC_ID'
  533. ' ORDER BY A.VMS_CTLR_NMBR, B.DSPL_PRRT')
  534. Left = 64
  535. Top = 176
  536. end
  537. object DSIfsc: TDataSource
  538. AutoEdit = False
  539. DataSet = ADOIfsc
  540. Left = 136
  541. Top = 240
  542. end
  543. object ADOIfsc: TADOQuery
  544. LockType = ltReadOnly
  545. Parameters = <>
  546. SQL.Strings = (
  547. 'SELECT A.VMS_IFSC_ID, B.IFSC_ID, B.ORD, C.IFSC_NM, C.STRT_NM, C.' +
  548. 'END_NM, C.SECT_LNGT, C.SECT_GRAD_CD,'
  549. ' TO_CHAR(TO_DATE(D.PRCN_DT, '#39'YYYYMMDDHH24MISS'#39'), '#39'YYYY-MM-' +
  550. 'DD HH24:MI:SS'#39') AS PRCN_DT,'
  551. ' D.SPED, D.PTRN_SPED, D.TRVL_HH, '
  552. ' DECODE(D.CMTR_GRAD_CD, '#39'LTC1'#39', '#39'1.'#49548#53685#50896#54876#39', '#39'LTC2'#39', '#39'2.'#51648#52404#39', ' +
  553. #39'LTC3'#39', '#39'3.'#51221#52404#39', '#39'0.'#51221#48372#50630#51020#39') AS CMTR_GRAD_CD'
  554. ' FROM TB_VMS_IFSC A,'
  555. ' TB_VMS_IFSC_RLTN_IFSC B,'
  556. ' TB_IFSC C,'
  557. ' TB_IFSC_TRAF D'
  558. ' WHERE A.USE_YN = '#39'Y'#39
  559. ' AND A.VMS_IFSC_ID = B.VMS_IFSC_ID'
  560. ' AND B.IFSC_ID = C.IFSC_ID'
  561. ' AND C.DEL_YN = '#39'N'#39
  562. ' AND C.IFSC_ID = D.IFSC_ID'
  563. ' ORDER BY A.VMS_IFSC_ID, B.ORD')
  564. Left = 64
  565. Top = 240
  566. end
  567. end