r_FraisKm0.bas 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Operation =1
  2. Option =0
  3. Having ="(((tbl_FormDep.MoisRH)=[Formulaires]![frm_menu].[Mois]) AND ((tbl_FormDep.AnneeR"
  4. "H)=[Formulaires]![frm_menu].[Annee]))"
  5. Begin InputTables
  6. Name ="tbl_FormDep"
  7. Name ="r_Agents"
  8. End
  9. Begin OutputColumns
  10. Expression ="tbl_FormDep.CodeAgent"
  11. Expression ="tbl_FormDep.MoisRH"
  12. Expression ="tbl_FormDep.AnneeRH"
  13. Alias ="SommeDeDistance2_perso"
  14. Expression ="Sum(tbl_FormDep.Distance2_perso)"
  15. Alias ="SommeDeDistance1_perso"
  16. Expression ="Sum(tbl_FormDep.Distance1_perso)"
  17. Alias ="DistanceMois"
  18. Expression ="Sum([Distance2_perso]+[Distance1_perso])"
  19. Expression ="r_Agents.TypeVehicule"
  20. Expression ="r_Agents.PuissanceFiscVP"
  21. End
  22. Begin Joins
  23. LeftTable ="r_Agents"
  24. RightTable ="tbl_FormDep"
  25. Expression ="r_Agents.CodeAgent = tbl_FormDep.CodeAgent"
  26. Flag =1
  27. End
  28. Begin Groups
  29. Expression ="tbl_FormDep.CodeAgent"
  30. GroupLevel =0
  31. Expression ="tbl_FormDep.MoisRH"
  32. GroupLevel =0
  33. Expression ="tbl_FormDep.AnneeRH"
  34. GroupLevel =0
  35. Expression ="r_Agents.TypeVehicule"
  36. GroupLevel =0
  37. Expression ="r_Agents.PuissanceFiscVP"
  38. GroupLevel =0
  39. End
  40. dbBoolean "ReturnsRecords" ="-1"
  41. dbInteger "ODBCTimeout" ="60"
  42. dbByte "RecordsetType" ="0"
  43. dbBoolean "OrderByOn" ="0"
  44. dbByte "Orientation" ="0"
  45. dbByte "DefaultView" ="2"
  46. dbBoolean "FilterOnLoad" ="0"
  47. dbBoolean "OrderByOnLoad" ="-1"
  48. dbBoolean "TotalsRow" ="0"
  49. Begin
  50. Begin
  51. dbText "Name" ="r_Agents.PuissanceFiscVP"
  52. dbLong "AggregateType" ="-1"
  53. End
  54. Begin
  55. dbText "Name" ="tbl_FormDep.CodeAgent"
  56. dbLong "AggregateType" ="-1"
  57. End
  58. Begin
  59. dbText "Name" ="tbl_FormDep.MoisRH"
  60. dbLong "AggregateType" ="-1"
  61. End
  62. Begin
  63. dbText "Name" ="tbl_FormDep.AnneeRH"
  64. dbLong "AggregateType" ="-1"
  65. End
  66. Begin
  67. dbText "Name" ="r_Agents.TypeVehicule"
  68. dbLong "AggregateType" ="-1"
  69. dbInteger "ColumnWidth" ="2205"
  70. dbBoolean "ColumnHidden" ="0"
  71. End
  72. Begin
  73. dbText "Name" ="DistanceMois"
  74. dbLong "AggregateType" ="-1"
  75. dbInteger "ColumnWidth" ="3105"
  76. dbBoolean "ColumnHidden" ="0"
  77. End
  78. Begin
  79. dbText "Name" ="SommeDeDistance2_perso"
  80. dbLong "AggregateType" ="-1"
  81. End
  82. Begin
  83. dbText "Name" ="SommeDeDistance1_perso"
  84. dbLong "AggregateType" ="-1"
  85. End
  86. End
  87. Begin
  88. State =0
  89. Left =0
  90. Top =0
  91. Right =1125
  92. Bottom =545
  93. Left =-1
  94. Top =-1
  95. Right =1109
  96. Bottom =189
  97. Left =0
  98. Top =0
  99. ColumnsShown =543
  100. Begin
  101. Left =48
  102. Top =12
  103. Right =297
  104. Bottom =353
  105. Top =0
  106. Name ="tbl_FormDep"
  107. Name =""
  108. End
  109. Begin
  110. Left =338
  111. Top =12
  112. Right =582
  113. Bottom =363
  114. Top =0
  115. Name ="r_Agents"
  116. Name =""
  117. End
  118. End