r_HeuresSup.bas 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Operation =1
  2. Option =0
  3. Begin InputTables
  4. Name ="tbl_FormDep"
  5. Name ="r_DonneesImport2"
  6. End
  7. Begin OutputColumns
  8. Expression ="r_DonneesImport2.CodeAgent"
  9. Expression ="r_DonneesImport2.DateRH"
  10. Expression ="r_DonneesImport2.JourRH"
  11. Expression ="r_DonneesImport2.MoisRH"
  12. Expression ="r_DonneesImport2.AnneeRH"
  13. Alias ="HeureSup1"
  14. Expression ="r_DonneesImport2.SommeDeHeureSup1"
  15. Expression ="tbl_FormDep.HeuresDep"
  16. Alias ="HeureSup2"
  17. Expression ="r_DonneesImport2.SommeDeHeureSup2"
  18. Expression ="tbl_FormDep.HeuresDepNuit"
  19. Alias ="HS"
  20. Expression ="Nz([SommeDeHeureSup1]+[HeuresDep],0)"
  21. Alias ="HSNuit"
  22. Expression ="Nz([SommeDeHeureSup2]+[HeuresDepNuit],0)"
  23. Alias ="HeureSupDimanche"
  24. Expression ="r_DonneesImport2.SommeDeHeureSupDimanche"
  25. Alias ="HS_VHCanal"
  26. Expression ="r_DonneesImport2.SommeDeHS_VHCanal"
  27. Alias ="HS_Chantier"
  28. Expression ="r_DonneesImport2.SommeDeHS_Chantier"
  29. End
  30. Begin Joins
  31. LeftTable ="tbl_FormDep"
  32. RightTable ="r_DonneesImport2"
  33. Expression ="tbl_FormDep.CodeAgent = r_DonneesImport2.CodeAgent"
  34. Flag =1
  35. LeftTable ="tbl_FormDep"
  36. RightTable ="r_DonneesImport2"
  37. Expression ="tbl_FormDep.AnneeRH = r_DonneesImport2.AnneeRH"
  38. Flag =1
  39. LeftTable ="tbl_FormDep"
  40. RightTable ="r_DonneesImport2"
  41. Expression ="tbl_FormDep.MoisRH = r_DonneesImport2.MoisRH"
  42. Flag =1
  43. LeftTable ="tbl_FormDep"
  44. RightTable ="r_DonneesImport2"
  45. Expression ="tbl_FormDep.JourRH = r_DonneesImport2.JourRH"
  46. Flag =1
  47. End
  48. Begin OrderBy
  49. Expression ="r_DonneesImport2.CodeAgent"
  50. Flag =0
  51. Expression ="r_DonneesImport2.JourRH"
  52. Flag =0
  53. End
  54. dbBoolean "ReturnsRecords" ="-1"
  55. dbInteger "ODBCTimeout" ="60"
  56. dbByte "RecordsetType" ="0"
  57. dbBoolean "OrderByOn" ="0"
  58. dbByte "Orientation" ="0"
  59. dbByte "DefaultView" ="2"
  60. dbBoolean "FilterOnLoad" ="0"
  61. dbBoolean "OrderByOnLoad" ="-1"
  62. dbBoolean "TotalsRow" ="0"
  63. Begin
  64. Begin
  65. dbText "Name" ="HS"
  66. dbLong "AggregateType" ="-1"
  67. End
  68. Begin
  69. dbText "Name" ="HSNuit"
  70. dbLong "AggregateType" ="-1"
  71. End
  72. Begin
  73. dbText "Name" ="tbl_FormDep.HeuresDep"
  74. dbLong "AggregateType" ="-1"
  75. End
  76. Begin
  77. dbText "Name" ="tbl_FormDep.HeuresDepNuit"
  78. dbLong "AggregateType" ="-1"
  79. End
  80. Begin
  81. dbText "Name" ="HeureSup1"
  82. dbLong "AggregateType" ="-1"
  83. End
  84. Begin
  85. dbText "Name" ="HeureSup2"
  86. dbLong "AggregateType" ="-1"
  87. End
  88. Begin
  89. dbText "Name" ="HeureSupDimanche"
  90. dbLong "AggregateType" ="-1"
  91. End
  92. Begin
  93. dbText "Name" ="r_DonneesImport2.CodeAgent"
  94. dbLong "AggregateType" ="-1"
  95. End
  96. Begin
  97. dbText "Name" ="r_DonneesImport2.JourRH"
  98. dbLong "AggregateType" ="-1"
  99. End
  100. Begin
  101. dbText "Name" ="r_DonneesImport2.MoisRH"
  102. dbLong "AggregateType" ="-1"
  103. End
  104. Begin
  105. dbText "Name" ="r_DonneesImport2.AnneeRH"
  106. dbLong "AggregateType" ="-1"
  107. End
  108. Begin
  109. dbText "Name" ="r_DonneesImport2.DateRH"
  110. dbLong "AggregateType" ="-1"
  111. End
  112. Begin
  113. dbText "Name" ="Expr1"
  114. dbLong "AggregateType" ="-1"
  115. End
  116. Begin
  117. dbText "Name" ="HS_VHCanal"
  118. dbLong "AggregateType" ="-1"
  119. End
  120. Begin
  121. dbText "Name" ="r_DonneesImport2.SommeDeHS_Chantier"
  122. dbLong "AggregateType" ="-1"
  123. End
  124. Begin
  125. dbText "Name" ="HS_Chantier"
  126. dbLong "AggregateType" ="-1"
  127. End
  128. End
  129. Begin
  130. State =0
  131. Left =0
  132. Top =0
  133. Right =797
  134. Bottom =545
  135. Left =-1
  136. Top =-1
  137. Right =781
  138. Bottom =308
  139. Left =0
  140. Top =0
  141. ColumnsShown =539
  142. Begin
  143. Left =339
  144. Top =12
  145. Right =579
  146. Bottom =344
  147. Top =0
  148. Name ="tbl_FormDep"
  149. Name =""
  150. End
  151. Begin
  152. Left =48
  153. Top =12
  154. Right =262
  155. Bottom =254
  156. Top =0
  157. Name ="r_DonneesImport2"
  158. Name =""
  159. End
  160. End