r_TabRecapEFD.bas 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Operation =1
  2. Option =0
  3. Where ="(((tbl_FormDep.Distance2_perso)<>0)) OR (((tbl_FormDep.Distance2_service)<>0)) O"
  4. "R (((tbl_FormDep.Distance1_perso)<>0)) OR (((tbl_FormDep.Repas)<>0))"
  5. Begin InputTables
  6. Name ="tbl_FormDep"
  7. Name ="r_Agents"
  8. End
  9. Begin OutputColumns
  10. Expression ="tbl_FormDep.CodeAgent"
  11. Expression ="r_Agents.Nom"
  12. Expression ="tbl_FormDep.JourRH"
  13. Expression ="tbl_FormDep.MoisRH"
  14. Expression ="tbl_FormDep.AnneeRH"
  15. Alias ="DateRH"
  16. Expression ="CDate([JourRH] & \"/\" & [MoisRH] & \"/\" & [AnneeRH])"
  17. Expression ="tbl_FormDep.Itineraire"
  18. Expression ="tbl_FormDep.Distance2_perso"
  19. Expression ="tbl_FormDep.Distance2_service"
  20. Expression ="tbl_FormDep.Distance1_perso"
  21. Expression ="tbl_FormDep.Repas"
  22. Alias ="Vehicule"
  23. Expression ="IIf(([Distance2_perso]+[Distance1_perso])>0,'VP',IIf([Distance2_service]>0,'VS',"
  24. "''))"
  25. Expression ="tbl_FormDep.Remarque"
  26. End
  27. Begin Joins
  28. LeftTable ="r_Agents"
  29. RightTable ="tbl_FormDep"
  30. Expression ="r_Agents.CodeAgent = tbl_FormDep.CodeAgent"
  31. Flag =1
  32. End
  33. Begin OrderBy
  34. Expression ="r_Agents.Nom"
  35. Flag =0
  36. End
  37. dbBoolean "ReturnsRecords" ="-1"
  38. dbInteger "ODBCTimeout" ="60"
  39. dbByte "RecordsetType" ="0"
  40. dbBoolean "OrderByOn" ="0"
  41. dbByte "Orientation" ="0"
  42. dbByte "DefaultView" ="2"
  43. dbBoolean "FilterOnLoad" ="0"
  44. dbBoolean "OrderByOnLoad" ="-1"
  45. dbBoolean "TotalsRow" ="0"
  46. Begin
  47. Begin
  48. dbText "Name" ="tbl_FormDep.CodeAgent"
  49. dbLong "AggregateType" ="-1"
  50. End
  51. Begin
  52. dbText "Name" ="tbl_FormDep.AnneeRH"
  53. dbLong "AggregateType" ="-1"
  54. End
  55. Begin
  56. dbText "Name" ="DateRH"
  57. dbLong "AggregateType" ="-1"
  58. End
  59. Begin
  60. dbText "Name" ="tbl_FormDep.JourRH"
  61. dbLong "AggregateType" ="-1"
  62. End
  63. Begin
  64. dbText "Name" ="tbl_FormDep.MoisRH"
  65. dbLong "AggregateType" ="-1"
  66. End
  67. Begin
  68. dbText "Name" ="tbl_Agents.Nom"
  69. dbLong "AggregateType" ="-1"
  70. End
  71. Begin
  72. dbText "Name" ="tbl_FormDep.Remarque"
  73. dbLong "AggregateType" ="-1"
  74. End
  75. Begin
  76. dbText "Name" ="tbl_FormDep.Itineraire"
  77. dbLong "AggregateType" ="-1"
  78. End
  79. Begin
  80. dbText "Name" ="tbl_FormDep.Distance2_perso"
  81. dbLong "AggregateType" ="-1"
  82. End
  83. Begin
  84. dbText "Name" ="tbl_FormDep.Distance2_service"
  85. dbLong "AggregateType" ="-1"
  86. End
  87. Begin
  88. dbText "Name" ="tbl_FormDep.Distance1_perso"
  89. dbLong "AggregateType" ="-1"
  90. End
  91. Begin
  92. dbText "Name" ="tbl_FormDep.Repas"
  93. dbLong "AggregateType" ="-1"
  94. End
  95. Begin
  96. dbText "Name" ="Vehicule"
  97. dbLong "AggregateType" ="-1"
  98. End
  99. Begin
  100. dbText "Name" ="r_Agents.Nom"
  101. dbLong "AggregateType" ="-1"
  102. End
  103. End
  104. Begin
  105. State =0
  106. Left =0
  107. Top =0
  108. Right =956
  109. Bottom =545
  110. Left =-1
  111. Top =-1
  112. Right =940
  113. Bottom =287
  114. Left =0
  115. Top =0
  116. ColumnsShown =539
  117. Begin
  118. Left =270
  119. Top =12
  120. Right =512
  121. Bottom =291
  122. Top =0
  123. Name ="tbl_FormDep"
  124. Name =""
  125. End
  126. Begin
  127. Left =52
  128. Top =23
  129. Right =242
  130. Bottom =297
  131. Top =0
  132. Name ="r_Agents"
  133. Name =""
  134. End
  135. End