frm_HistoBaremes.bas 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. Version =20
  2. VersionRequired =20
  3. Begin Form
  4. DividingLines = NotDefault
  5. AllowDesignChanges = NotDefault
  6. RecordLocks =1
  7. PictureAlignment =2
  8. DatasheetGridlinesBehavior =3
  9. GridY =10
  10. Width =15193
  11. DatasheetFontHeight =11
  12. ItemSuffix =37
  13. Right =9000
  14. Bottom =12345
  15. DatasheetGridlinesColor =14806254
  16. Filter ="[NomBareme]='Heures de route'"
  17. RecSrcDt = Begin
  18. 0x6c06a4bd35d1e440
  19. End
  20. RecordSource ="SELECT tbl_baremes.NomBareme, tbl_baremes.PeriodeValidite, tbl_PeriodeBareme.Dat"
  21. "eInf, tbl_PeriodeBareme.DateSup FROM tbl_PeriodeBareme INNER JOIN tbl_baremes ON"
  22. " (tbl_PeriodeBareme.NomBareme = tbl_baremes.NomBareme) AND (tbl_PeriodeBareme.Co"
  23. "dePeriode = tbl_baremes.PeriodeValidite) GROUP BY tbl_baremes.NomBareme, tbl_bar"
  24. "emes.PeriodeValidite, tbl_PeriodeBareme.DateInf, tbl_PeriodeBareme.DateSup ORDER"
  25. " BY tbl_baremes.NomBareme, tbl_PeriodeBareme.DateInf DESC; "
  26. DatasheetFontName ="Calibri"
  27. PrtMip = Begin
  28. 0x6801000068010000680100006801000000000000201c0000e010000001000000 ,
  29. 0x010000006801000000000000a10700000100000001000000
  30. End
  31. FilterOnLoad =0
  32. ShowPageMargins =0
  33. DisplayOnSharePointSite =1
  34. DatasheetAlternateBackColor =15921906
  35. DatasheetGridlinesColor12 =0
  36. FitToScreen =1
  37. DatasheetBackThemeColorIndex =1
  38. BorderThemeColorIndex =3
  39. ThemeFontIndex =1
  40. ForeThemeColorIndex =0
  41. AlternateBackThemeColorIndex =1
  42. AlternateBackShade =95.0
  43. Begin
  44. Begin Label
  45. BackStyle =0
  46. FontSize =11
  47. FontName ="Calibri"
  48. ThemeFontIndex =1
  49. BackThemeColorIndex =1
  50. BorderThemeColorIndex =0
  51. BorderTint =50.0
  52. ForeThemeColorIndex =0
  53. ForeTint =50.0
  54. GridlineThemeColorIndex =1
  55. GridlineShade =65.0
  56. End
  57. Begin CommandButton
  58. Width =1701
  59. Height =283
  60. FontSize =11
  61. FontWeight =400
  62. FontName ="Calibri"
  63. ForeThemeColorIndex =0
  64. ForeTint =75.0
  65. GridlineThemeColorIndex =1
  66. GridlineShade =65.0
  67. UseTheme =1
  68. Shape =1
  69. Gradient =12
  70. BackThemeColorIndex =4
  71. BackTint =60.0
  72. BorderLineStyle =0
  73. BorderColor =16777215
  74. BorderThemeColorIndex =4
  75. BorderTint =60.0
  76. ThemeFontIndex =1
  77. HoverThemeColorIndex =4
  78. HoverTint =40.0
  79. PressedThemeColorIndex =4
  80. PressedShade =75.0
  81. HoverForeThemeColorIndex =0
  82. HoverForeTint =75.0
  83. PressedForeThemeColorIndex =0
  84. PressedForeTint =75.0
  85. End
  86. Begin TextBox
  87. AddColon = NotDefault
  88. FELineBreak = NotDefault
  89. BorderLineStyle =0
  90. Width =1701
  91. LabelX =-1701
  92. FontSize =11
  93. FontName ="Calibri"
  94. AsianLineBreak =1
  95. BackThemeColorIndex =1
  96. BorderThemeColorIndex =1
  97. BorderShade =65.0
  98. ThemeFontIndex =1
  99. ForeThemeColorIndex =0
  100. ForeTint =75.0
  101. GridlineThemeColorIndex =1
  102. GridlineShade =65.0
  103. End
  104. Begin ComboBox
  105. AddColon = NotDefault
  106. BorderLineStyle =0
  107. Width =1701
  108. LabelX =-1701
  109. FontSize =11
  110. FontName ="Calibri"
  111. AllowValueListEdits =1
  112. InheritValueList =1
  113. ThemeFontIndex =1
  114. BackThemeColorIndex =1
  115. BorderThemeColorIndex =1
  116. BorderShade =65.0
  117. ForeThemeColorIndex =2
  118. ForeShade =50.0
  119. GridlineThemeColorIndex =1
  120. GridlineShade =65.0
  121. End
  122. Begin Subform
  123. BorderLineStyle =0
  124. Width =1701
  125. Height =1701
  126. BorderThemeColorIndex =1
  127. GridlineThemeColorIndex =1
  128. GridlineShade =65.0
  129. BorderShade =65.0
  130. ShowPageHeaderAndPageFooter =1
  131. End
  132. Begin FormHeader
  133. Height =1133
  134. BackColor =12566463
  135. Name ="EntêteFormulaire"
  136. AlternateBackThemeColorIndex =1
  137. AlternateBackShade =95.0
  138. Begin
  139. Begin Label
  140. OverlapFlags =93
  141. Left =680
  142. Top =56
  143. Width =3986
  144. Height =334
  145. FontSize =13
  146. BorderColor =8355711
  147. Name ="Étiquette7"
  148. Caption ="Historique des versions du barème:"
  149. GridlineColor =10921638
  150. LayoutCachedLeft =680
  151. LayoutCachedTop =56
  152. LayoutCachedWidth =4666
  153. LayoutCachedHeight =390
  154. ForeTint =100.0
  155. End
  156. Begin CommandButton
  157. OverlapFlags =85
  158. Left =56
  159. Top =56
  160. Width =576
  161. Height =351
  162. ForeColor =4210752
  163. Name ="Commande16"
  164. Caption ="Commande16"
  165. ControlTipText ="Fermer formulaire"
  166. GridlineColor =10921638
  167. OnClickEmMacro = Begin
  168. Version =196611
  169. ColumnsShown =8
  170. Begin
  171. Action ="Close"
  172. Argument ="-1"
  173. Argument =""
  174. Argument ="0"
  175. End
  176. Begin
  177. Comment ="_AXL:<?xml version=\"1.0\" encoding=\"UTF-16\" standalone=\"no\"?>\015\012<UserI"
  178. "nterfaceMacro For=\"Commande16\" xmlns=\"http://schemas.microsoft.com/office/acc"
  179. "essservices/2009/11/application\" xmlns:a=\"http://schemas.microsoft.com/office/"
  180. "accessservices/2009/11/forms\">"
  181. End
  182. Begin
  183. Comment ="_AXL:<Statements><Action Name=\"CloseWindow\"/></Statements></UserInterfaceMacro"
  184. ">"
  185. End
  186. End
  187. ImageData = Begin
  188. 0x2800000010000000100000000100200000000000000000000000000000000000 ,
  189. 0x0000000000000000000000000000000000000000000000000000000010081080 ,
  190. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  191. 0x000000000000000000000000000000000000000040485020100810e0104050ff ,
  192. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  193. 0x0000000000000000000000000000000040404080405860ff106890ff2080a0f0 ,
  194. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  195. 0x0000000000000000607070ff80a0b0ff4080a0ff20a0d0ff40a8e0ff2078a0ff ,
  196. 0x101020ff101020ff000000000000000000000000000000000000000000000000 ,
  197. 0x0000000000000000708890ffa0d8f0ff60d0ffff50c0f0ff30a8e0ff1080b0ff ,
  198. 0xe0d8d0ff102020ff000000000000000000000000000000000000000000000000 ,
  199. 0x0000000000000000708890ffb0e8f0ff80e0ffff60c8f0ff50b8f0ff1088c0ff ,
  200. 0xf0d8d0ff202830ff000000000000000090482030904820ff0000000000000000 ,
  201. 0x0000000000000000808890ffb0e8f0ff80e0ffff60d0ffff404050ff1090c0ff ,
  202. 0xf0e0d0ff303840ff0000000090482030a05030ffa05020ff0000000000000000 ,
  203. 0x00000000000000008090a0ffc0f0ffff90e0ffff70d8ffff60c8f0ff0090c0ff ,
  204. 0xf0e0e0ff404050ff90482030a05030ffd07840ffb05830ffa05020ffa04820ff ,
  205. 0x904820ff904820ff8090a0ffc0f0ffffa0e8ffff80d8ffff70d0f0ff40b0e0ff ,
  206. 0xf0e8e0ff605050ffa05830ffe08860fff09060fff08850ffe07850ffd07040ff ,
  207. 0xb06840ff904820ff8098a0ffc0f0ffffa0e8ffff90e8ffff80e0ffff80b8d0ff ,
  208. 0xf0e8e0ffe09870ffffc0a0ffffb090ffffa070fff09060fff08850ffe07850ff ,
  209. 0xd07040ffa05020ff8098a0ffc0f0ffffc0f8ffffa0e0f0ff90a8b0ffc0c8d0ff ,
  210. 0xf0f0e0ff908080fff0a070ffffc0a0ffffb090ffffb090ffffa880fff0a080ff ,
  211. 0xe09870ffb05030ff90a0a0ffe0f8ffffb0c8d0ff90a0b0fff0f0f0fffff8f0ff ,
  212. 0xf0f0f0ff607080ffe0987050f0a070ffffc0a0ffd06830ffe09870ffe09060ff ,
  213. 0xe08860ffe08050ff90a0b0ff90a8b0ffc0c8d0ffffffffffffffffffffffffff ,
  214. 0xffffffff708890ff00000000e0987050e09870ffd07040ff0000000000000000 ,
  215. 0x000000000000000090a0b0ff90a0b0ff90a0b0ff90a0b0ff90a0a0ff8098a0ff ,
  216. 0x8098a0ff9098a0ff0000000000000000e0987050e09870ff0000000000000000 ,
  217. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  218. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  219. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  220. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  221. 0x0000000000000000
  222. End
  223. LayoutCachedLeft =56
  224. LayoutCachedTop =56
  225. LayoutCachedWidth =632
  226. LayoutCachedHeight =407
  227. Gradient =0
  228. BackColor =14277081
  229. BackThemeColorIndex =1
  230. BackTint =100.0
  231. BackShade =85.0
  232. BorderColor =14136213
  233. HoverColor =15060409
  234. PressedColor =9592887
  235. HoverForeColor =4210752
  236. PressedForeColor =4210752
  237. WebImagePaddingLeft =2
  238. WebImagePaddingTop =2
  239. WebImagePaddingRight =1
  240. WebImagePaddingBottom =1
  241. End
  242. Begin TextBox
  243. OldBorderStyle =0
  244. OverlapFlags =215
  245. BackStyle =0
  246. IMESentenceMode =3
  247. Left =4535
  248. Top =56
  249. Width =2556
  250. Height =315
  251. ColumnOrder =0
  252. FontSize =13
  253. TabIndex =1
  254. BorderColor =10921638
  255. Name ="NomBareme"
  256. ControlSource ="NomBareme"
  257. GridlineColor =10921638
  258. LayoutCachedLeft =4535
  259. LayoutCachedTop =56
  260. LayoutCachedWidth =7091
  261. LayoutCachedHeight =371
  262. ForeTint =100.0
  263. End
  264. Begin Label
  265. OverlapFlags =85
  266. Left =285
  267. Top =735
  268. Width =1845
  269. Height =315
  270. BorderColor =8355711
  271. Name ="Étiquette34"
  272. Caption ="Periode de validité"
  273. GridlineColor =10921638
  274. LayoutCachedLeft =285
  275. LayoutCachedTop =735
  276. LayoutCachedWidth =2130
  277. LayoutCachedHeight =1050
  278. ForeTint =100.0
  279. End
  280. Begin Label
  281. OverlapFlags =85
  282. Left =2607
  283. Top =737
  284. Width =1725
  285. Height =315
  286. BorderColor =8355711
  287. Name ="Étiquette35"
  288. Caption ="Valide à partir du:"
  289. GridlineColor =10921638
  290. LayoutCachedLeft =2607
  291. LayoutCachedTop =737
  292. LayoutCachedWidth =4332
  293. LayoutCachedHeight =1052
  294. ForeTint =100.0
  295. End
  296. Begin Label
  297. OverlapFlags =85
  298. Left =4705
  299. Top =737
  300. Width =1560
  301. Height =315
  302. BorderColor =8355711
  303. Name ="Étiquette36"
  304. Caption ="Valide jusqu'au:"
  305. GridlineColor =10921638
  306. LayoutCachedLeft =4705
  307. LayoutCachedTop =737
  308. LayoutCachedWidth =6265
  309. LayoutCachedHeight =1052
  310. ForeTint =100.0
  311. End
  312. End
  313. End
  314. Begin Section
  315. CanGrow = NotDefault
  316. CanShrink = NotDefault
  317. Height =396
  318. BackColor =14211288
  319. Name ="Détail"
  320. AlternateBackColor =15921906
  321. AlternateBackThemeColorIndex =1
  322. AlternateBackShade =95.0
  323. Begin
  324. Begin TextBox
  325. OverlapFlags =85
  326. IMESentenceMode =3
  327. Left =283
  328. Height =315
  329. BorderColor =10921638
  330. ForeColor =4210752
  331. Name ="PeriodeValidite"
  332. ControlSource ="PeriodeValidite"
  333. StatusBarText ="cf. tbl_PeriodeBareme"
  334. GridlineColor =10921638
  335. LayoutCachedLeft =283
  336. LayoutCachedWidth =1984
  337. LayoutCachedHeight =315
  338. End
  339. Begin TextBox
  340. OverlapFlags =85
  341. IMESentenceMode =3
  342. Left =2607
  343. Height =315
  344. TabIndex =1
  345. BorderColor =10921638
  346. ForeColor =4210752
  347. Name ="DateInf"
  348. ControlSource ="DateInf"
  349. GridlineColor =10921638
  350. LayoutCachedLeft =2607
  351. LayoutCachedWidth =4308
  352. LayoutCachedHeight =315
  353. End
  354. Begin TextBox
  355. OverlapFlags =85
  356. IMESentenceMode =3
  357. Left =4705
  358. Height =315
  359. TabIndex =2
  360. BorderColor =10921638
  361. ForeColor =4210752
  362. Name ="DateSup"
  363. ControlSource ="DateSup"
  364. GridlineColor =10921638
  365. LayoutCachedLeft =4705
  366. LayoutCachedWidth =6406
  367. LayoutCachedHeight =315
  368. End
  369. End
  370. End
  371. Begin FormFooter
  372. CanGrow = NotDefault
  373. CanShrink = NotDefault
  374. Height =2324
  375. BackColor =10855845
  376. Name ="PiedFormulaire"
  377. AlternateBackThemeColorIndex =1
  378. AlternateBackShade =95.0
  379. Begin
  380. Begin Subform
  381. CanShrink = NotDefault
  382. OverlapFlags =85
  383. Left =1417
  384. Top =56
  385. Width =12075
  386. Height =1365
  387. BorderColor =10921638
  388. Name ="sfrm_detailbareme"
  389. SourceObject ="Form.sfrm_detailbareme"
  390. LinkChildFields ="NomBareme;PeriodeValidite"
  391. LinkMasterFields ="NomBareme;PeriodeValidite"
  392. GridlineColor =10921638
  393. LayoutCachedLeft =1417
  394. LayoutCachedTop =56
  395. LayoutCachedWidth =13492
  396. LayoutCachedHeight =1421
  397. End
  398. End
  399. End
  400. End
  401. End
  402. CodeBehindForm
  403. Attribute VB_GlobalNameSpace = False
  404. Attribute VB_Creatable = True
  405. Attribute VB_PredeclaredId = True
  406. Attribute VB_Exposed = False
  407. Option Compare Database
  408. Private Sub Commande29_Click()
  409. Dim critere, NomBareme As String
  410. NomBareme = Nz(Me.NomBareme, "")
  411. critere = "[NomBareme]='" & NomBareme & "'"
  412. End Sub