frm_donneesRH.bas 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575
  1. Version =20
  2. VersionRequired =20
  3. Begin Form
  4. DividingLines = NotDefault
  5. FilterOn = NotDefault
  6. OrderByOn = NotDefault
  7. AllowDesignChanges = NotDefault
  8. AllowUpdating =1
  9. PictureAlignment =2
  10. DatasheetGridlinesBehavior =3
  11. GridY =10
  12. Width =18136
  13. DatasheetFontHeight =11
  14. ItemSuffix =118
  15. Right =12765
  16. Bottom =7920
  17. DatasheetGridlinesColor =15062992
  18. Filter ="[CodeAgent]='T5' AND [MoisRH]=1 AND [AnneeRH]=2015"
  19. OrderBy ="[DateRH]"
  20. RecSrcDt = Begin
  21. 0x007988d4ae8de440
  22. End
  23. RecordSource ="SELECT tbl_ImportRH.IdImportRH, tbl_ImportRH.CodeLigne, tbl_ImportRH.CodeAgent, "
  24. "tbl_ImportRH.DateRH, tbl_ImportRH.Depart, tbl_ImportRH.CodeLocalisation, tbl_Imp"
  25. "ortRH.Localisation, tbl_ImportRH.strCategorieInterventionId, tbl_ImportRH.HeureS"
  26. "up1, tbl_ImportRH.HeureSup2, tbl_ImportRH.HeureSupDimanche, tbl_ImportRH.Repas, "
  27. "tbl_ImportRH.DistanceTranche1, tbl_ImportRH.VehiculePersoTranche1, tbl_ImportRH."
  28. "DistanceTranche2, tbl_ImportRH.VehiculePersoTranche2, tbl_ImportRH.FichierXML, t"
  29. "bl_ImportRH.DateImport, tbl_ImportRH.ResponsableImport, Month([DateRH]) AS MoisR"
  30. "H, Year([DateRH]) AS AnneeRH, Not ((CInt([Repas])>0 Or (IIf([VehiculePersoTranch"
  31. "e1]='True',CLng([DistanceTranche1]),0)+IIf([VehiculePersoTranche2]='True',CLng(["
  32. "DistanceTranche2]),0)>0)) And (Nz([Localisation],'')=Nz(DFirst(\"[ResidenceAdmin"
  33. "]\",\"[tbl_Agents]\",\"[CodeAgent]='\" & [CodeAgent] & \"'\"),''))) AS valide FR"
  34. "OM tbl_ImportRH; "
  35. OnOpen ="[Event Procedure]"
  36. DatasheetFontName ="Calibri"
  37. PrtMip = Begin
  38. 0x6801000068010000680100006801000000000000201c0000e010000001000000 ,
  39. 0x010000006801000000000000a10700000100000001000000
  40. End
  41. FilterOnLoad =0
  42. DatasheetBackColor12 =-2147483643
  43. ShowPageMargins =0
  44. DisplayOnSharePointSite =1
  45. DatasheetAlternateBackColor =16053492
  46. DatasheetGridlinesColor12 =15062992
  47. FitToScreen =1
  48. Begin
  49. Begin Label
  50. BackStyle =0
  51. FontSize =11
  52. FontName ="Calibri"
  53. ThemeFontIndex =1
  54. BackThemeColorIndex =1
  55. BorderThemeColorIndex =1
  56. ForeThemeColorIndex =2
  57. ForeTint =60.0
  58. GridlineThemeColorIndex =1
  59. GridlineShade =65.0
  60. End
  61. Begin Rectangle
  62. SpecialEffect =3
  63. BackStyle =0
  64. BorderLineStyle =0
  65. Width =850
  66. Height =850
  67. BorderThemeColorIndex =3
  68. BorderShade =90.0
  69. GridlineThemeColorIndex =1
  70. GridlineShade =65.0
  71. End
  72. Begin CommandButton
  73. Width =1701
  74. Height =283
  75. FontSize =11
  76. FontWeight =400
  77. FontName ="Calibri"
  78. ForeThemeColorIndex =2
  79. ForeShade =50.0
  80. GridlineThemeColorIndex =1
  81. GridlineShade =65.0
  82. BackColor =-2147483633
  83. BorderLineStyle =0
  84. BorderThemeColorIndex =3
  85. BorderShade =90.0
  86. ThemeFontIndex =1
  87. End
  88. Begin CheckBox
  89. BorderLineStyle =0
  90. LabelX =230
  91. LabelY =-30
  92. BorderThemeColorIndex =1
  93. BorderShade =65.0
  94. GridlineThemeColorIndex =1
  95. GridlineShade =65.0
  96. End
  97. Begin BoundObjectFrame
  98. AddColon = NotDefault
  99. SizeMode =3
  100. SpecialEffect =2
  101. BorderLineStyle =0
  102. Width =4536
  103. Height =2835
  104. LabelX =-1701
  105. BackThemeColorIndex =1
  106. BorderThemeColorIndex =1
  107. BorderShade =65.0
  108. GridlineThemeColorIndex =1
  109. GridlineShade =65.0
  110. End
  111. Begin TextBox
  112. FELineBreak = NotDefault
  113. BorderLineStyle =0
  114. Width =1701
  115. LabelX =-1701
  116. FontSize =11
  117. FontName ="Calibri"
  118. AsianLineBreak =1
  119. BackThemeColorIndex =1
  120. BorderThemeColorIndex =3
  121. BorderShade =90.0
  122. ThemeFontIndex =1
  123. ForeThemeColorIndex =2
  124. ForeShade =50.0
  125. GridlineThemeColorIndex =1
  126. GridlineShade =65.0
  127. End
  128. Begin ComboBox
  129. BorderLineStyle =0
  130. Width =1701
  131. LabelX =-1701
  132. FontSize =11
  133. FontName ="Calibri"
  134. AllowValueListEdits =1
  135. InheritValueList =1
  136. ThemeFontIndex =1
  137. BackThemeColorIndex =1
  138. BorderThemeColorIndex =3
  139. BorderShade =90.0
  140. ForeThemeColorIndex =2
  141. ForeShade =50.0
  142. GridlineThemeColorIndex =1
  143. GridlineShade =65.0
  144. End
  145. Begin UnboundObjectFrame
  146. SpecialEffect =2
  147. OldBorderStyle =1
  148. Width =4536
  149. Height =2835
  150. ThemeFontIndex =1
  151. BackThemeColorIndex =1
  152. BorderThemeColorIndex =1
  153. BorderShade =65.0
  154. ForeThemeColorIndex =2
  155. ForeShade =50.0
  156. GridlineThemeColorIndex =1
  157. GridlineShade =65.0
  158. End
  159. Begin ToggleButton
  160. Width =283
  161. Height =283
  162. FontSize =11
  163. FontWeight =400
  164. FontName ="Calibri"
  165. ForeThemeColorIndex =2
  166. ForeShade =50.0
  167. GridlineThemeColorIndex =1
  168. GridlineShade =65.0
  169. BackColor =15790320
  170. BackThemeColorIndex =6
  171. BackTint =30.0
  172. BorderLineStyle =0
  173. BorderThemeColorIndex =3
  174. BorderShade =90.0
  175. ThemeFontIndex =1
  176. End
  177. Begin FormHeader
  178. Height =1927
  179. BackColor =15527148
  180. Name ="EntêteFormulaire"
  181. AlternateBackThemeColorIndex =1
  182. AlternateBackShade =95.0
  183. Begin
  184. Begin Label
  185. OverlapFlags =93
  186. Left =120
  187. Top =60
  188. Width =2595
  189. Height =330
  190. FontWeight =700
  191. BorderColor =16777215
  192. Name ="Étiquette0"
  193. Caption ="Données RH importées"
  194. GridlineColor =10921638
  195. LayoutCachedLeft =120
  196. LayoutCachedTop =60
  197. LayoutCachedWidth =2715
  198. LayoutCachedHeight =390
  199. ForeThemeColorIndex =0
  200. ForeTint =100.0
  201. End
  202. Begin Label
  203. OverlapFlags =93
  204. Left =2551
  205. Top =1474
  206. Width =1455
  207. Height =315
  208. BorderColor =16777215
  209. Name ="Étiquette1"
  210. Caption ="Départ:"
  211. GridlineColor =10921638
  212. LayoutCachedLeft =2551
  213. LayoutCachedTop =1474
  214. LayoutCachedWidth =4006
  215. LayoutCachedHeight =1789
  216. ForeThemeColorIndex =0
  217. ForeTint =100.0
  218. End
  219. Begin Label
  220. OverlapFlags =93
  221. Left =4195
  222. Top =1474
  223. Width =1290
  224. Height =315
  225. BorderColor =16777215
  226. Name ="Étiquette2"
  227. Caption ="Localisation:"
  228. GridlineColor =10921638
  229. LayoutCachedLeft =4195
  230. LayoutCachedTop =1474
  231. LayoutCachedWidth =5485
  232. LayoutCachedHeight =1789
  233. ForeThemeColorIndex =0
  234. ForeTint =100.0
  235. End
  236. Begin Label
  237. OverlapFlags =93
  238. Left =1077
  239. Top =1474
  240. Width =840
  241. Height =315
  242. BorderColor =16777215
  243. Name ="Étiquette3"
  244. Caption ="Date:"
  245. GridlineColor =10921638
  246. LayoutCachedLeft =1077
  247. LayoutCachedTop =1474
  248. LayoutCachedWidth =1917
  249. LayoutCachedHeight =1789
  250. ForeThemeColorIndex =0
  251. ForeTint =100.0
  252. End
  253. Begin Label
  254. FontUnderline = NotDefault
  255. OverlapFlags =93
  256. Left =15759
  257. Top =1077
  258. Width =1170
  259. Height =315
  260. BorderColor =16777215
  261. Name ="Étiquette4"
  262. Caption ="Fichier Xml:"
  263. GridlineColor =10921638
  264. LayoutCachedLeft =15759
  265. LayoutCachedTop =1077
  266. LayoutCachedWidth =16929
  267. LayoutCachedHeight =1392
  268. ForeThemeColorIndex =0
  269. ForeTint =100.0
  270. End
  271. Begin Label
  272. OverlapFlags =93
  273. Left =8447
  274. Top =1483
  275. Width =675
  276. Height =315
  277. BorderColor =16777215
  278. Name ="Étiquette5"
  279. Caption ="Type 1"
  280. GridlineColor =10921638
  281. LayoutCachedLeft =8447
  282. LayoutCachedTop =1483
  283. LayoutCachedWidth =9122
  284. LayoutCachedHeight =1798
  285. ForeThemeColorIndex =0
  286. ForeTint =100.0
  287. End
  288. Begin Label
  289. FontUnderline = NotDefault
  290. OverlapFlags =93
  291. Left =8676
  292. Top =1080
  293. Width =1860
  294. Height =315
  295. BorderColor =16777215
  296. Name ="Étiquette6"
  297. Caption ="Heures Sup:"
  298. GridlineColor =10921638
  299. LayoutCachedLeft =8676
  300. LayoutCachedTop =1080
  301. LayoutCachedWidth =10536
  302. LayoutCachedHeight =1395
  303. ForeThemeColorIndex =0
  304. ForeTint =100.0
  305. End
  306. Begin Label
  307. OverlapFlags =93
  308. Left =9978
  309. Top =1474
  310. Width =615
  311. Height =315
  312. BorderColor =16777215
  313. Name ="Étiquette7"
  314. Caption ="Dim"
  315. GridlineColor =10921638
  316. LayoutCachedLeft =9978
  317. LayoutCachedTop =1474
  318. LayoutCachedWidth =10593
  319. LayoutCachedHeight =1789
  320. ForeThemeColorIndex =0
  321. ForeTint =100.0
  322. End
  323. Begin Label
  324. FontUnderline = NotDefault
  325. OverlapFlags =93
  326. Left =10827
  327. Top =1080
  328. Width =690
  329. Height =315
  330. BorderColor =16777215
  331. Name ="Étiquette8"
  332. Caption ="Repas:"
  333. GridlineColor =10921638
  334. LayoutCachedLeft =10827
  335. LayoutCachedTop =1080
  336. LayoutCachedWidth =11517
  337. LayoutCachedHeight =1395
  338. ForeThemeColorIndex =0
  339. ForeTint =100.0
  340. End
  341. Begin Label
  342. FontUnderline = NotDefault
  343. OverlapFlags =93
  344. TextAlign =2
  345. Left =11663
  346. Top =1080
  347. Width =3885
  348. Height =390
  349. BorderColor =16777215
  350. Name ="Étiquette9"
  351. Caption ="Distance parcourue (VP Oui/Non):"
  352. GridlineColor =10921638
  353. LayoutCachedLeft =11663
  354. LayoutCachedTop =1080
  355. LayoutCachedWidth =15548
  356. LayoutCachedHeight =1470
  357. ForeThemeColorIndex =0
  358. ForeTint =100.0
  359. End
  360. Begin Label
  361. OverlapFlags =93
  362. Left =11791
  363. Top =1530
  364. Width =1020
  365. Height =315
  366. BorderColor =16777215
  367. Name ="Étiquette10"
  368. Caption ="Tranche 1"
  369. GridlineColor =10921638
  370. LayoutCachedLeft =11791
  371. LayoutCachedTop =1530
  372. LayoutCachedWidth =12811
  373. LayoutCachedHeight =1845
  374. ForeThemeColorIndex =0
  375. ForeTint =100.0
  376. End
  377. Begin Label
  378. OverlapFlags =93
  379. Left =13435
  380. Top =1530
  381. Width =1080
  382. Height =315
  383. BorderColor =16777215
  384. Name ="Étiquette11"
  385. Caption ="Tranche 2"
  386. GridlineColor =10921638
  387. LayoutCachedLeft =13435
  388. LayoutCachedTop =1530
  389. LayoutCachedWidth =14515
  390. LayoutCachedHeight =1845
  391. ForeThemeColorIndex =0
  392. ForeTint =100.0
  393. End
  394. Begin Label
  395. OverlapFlags =93
  396. Left =113
  397. Top =1474
  398. Width =675
  399. Height =315
  400. BorderColor =16777215
  401. Name ="Étiquette14"
  402. Caption ="Agent:"
  403. GridlineColor =10921638
  404. LayoutCachedLeft =113
  405. LayoutCachedTop =1474
  406. LayoutCachedWidth =788
  407. LayoutCachedHeight =1789
  408. ForeThemeColorIndex =0
  409. ForeTint =100.0
  410. End
  411. Begin ComboBox
  412. OverlapFlags =85
  413. IMESentenceMode =3
  414. ColumnCount =2
  415. Left =4648
  416. Top =56
  417. Width =3116
  418. Height =315
  419. ColumnOrder =4
  420. BorderColor =12835293
  421. ForeColor =4138256
  422. ColumnInfo ="\"\";\"\";\"\";\"\";\"10\";\"510\""
  423. Name ="lst_agent"
  424. RowSourceType ="Table/Query"
  425. RowSource ="SELECT tbl_Agents.CodeAgent, tbl_Agents.Nom, DCount(\"[CodeLigne]\",\"[tbl_Impor"
  426. "tRH]\",\"[CodeAgent]='\" & [CodeAgent] & \"'\") AS donnee_rh FROM tbl_Agents GRO"
  427. "UP BY tbl_Agents.CodeAgent, tbl_Agents.Nom, DCount(\"[CodeLigne]\",\"[tbl_Import"
  428. "RH]\",\"[CodeAgent]='\" & [CodeAgent] & \"'\") HAVING (((DCount(\"[CodeLigne]\","
  429. "\"[tbl_ImportRH]\",\"[CodeAgent]='\" & [CodeAgent] & \"'\"))>0)) ORDER BY tbl_Ag"
  430. "ents.Nom; "
  431. ColumnWidths ="0;3402"
  432. AfterUpdate ="[Event Procedure]"
  433. GridlineColor =10921638
  434. LayoutCachedLeft =4648
  435. LayoutCachedTop =56
  436. LayoutCachedWidth =7764
  437. LayoutCachedHeight =371
  438. End
  439. Begin Label
  440. OverlapFlags =85
  441. Left =3741
  442. Top =56
  443. Width =804
  444. Height =340
  445. BorderColor =16777215
  446. Name ="Étiquette17"
  447. Caption ="Agent:"
  448. GridlineColor =10921638
  449. LayoutCachedLeft =3741
  450. LayoutCachedTop =56
  451. LayoutCachedWidth =4545
  452. LayoutCachedHeight =396
  453. ForeThemeColorIndex =0
  454. ForeTint =100.0
  455. End
  456. Begin Label
  457. OverlapFlags =93
  458. Left =7937
  459. Top =56
  460. Width =1644
  461. Height =340
  462. BorderColor =16777215
  463. Name ="Étiquette18"
  464. Caption ="pour le mois de:"
  465. GridlineColor =10921638
  466. LayoutCachedLeft =7937
  467. LayoutCachedTop =56
  468. LayoutCachedWidth =9581
  469. LayoutCachedHeight =396
  470. ForeThemeColorIndex =0
  471. ForeTint =100.0
  472. End
  473. Begin ComboBox
  474. RowSourceTypeInt =1
  475. OverlapFlags =215
  476. IMESentenceMode =3
  477. ColumnCount =2
  478. ListWidth =2880
  479. Left =9524
  480. Top =56
  481. Width =1984
  482. Height =315
  483. ColumnOrder =3
  484. TabIndex =1
  485. BorderColor =12835293
  486. ForeColor =4138256
  487. Name ="lst_mois"
  488. RowSourceType ="Value List"
  489. RowSource ="1;\"Janvier\";2;\"Février\";3;\"Mars\";4;\"Avril\";5;\"Mai\";6;\"Juin\";7;\"Juil"
  490. "let\";8;\"Août\";9;\"Septembre\";10;\"Octobre\";11;\"Novembre\";12;\"Decembre\""
  491. ColumnWidths ="0;2268"
  492. AfterUpdate ="[Event Procedure]"
  493. GridlineColor =10921638
  494. LayoutCachedLeft =9524
  495. LayoutCachedTop =56
  496. LayoutCachedWidth =11508
  497. LayoutCachedHeight =371
  498. End
  499. Begin Label
  500. OverlapFlags =93
  501. Left =11962
  502. Top =56
  503. Width =1644
  504. Height =340
  505. BorderColor =16777215
  506. Name ="Étiquette21"
  507. Caption ="de l'année:"
  508. GridlineColor =10921638
  509. LayoutCachedLeft =11962
  510. LayoutCachedTop =56
  511. LayoutCachedWidth =13606
  512. LayoutCachedHeight =396
  513. ForeThemeColorIndex =0
  514. ForeTint =100.0
  515. End
  516. Begin ComboBox
  517. OverlapFlags =215
  518. IMESentenceMode =3
  519. Left =13266
  520. Top =56
  521. Height =315
  522. ColumnOrder =2
  523. TabIndex =2
  524. BorderColor =12835293
  525. ForeColor =4138256
  526. ColumnInfo ="\"\";\"\";\"3\";\"2\""
  527. Name ="lst_annee"
  528. RowSourceType ="Table/Query"
  529. RowSource ="SELECT Year([DateRH]) AS Annee FROM tbl_ImportRH GROUP BY Year([DateRH]) HAVING "
  530. "(((Year([DateRH]))>=2013)) ORDER BY Year([DateRH]) DESC; "
  531. AfterUpdate ="[Event Procedure]"
  532. GridlineColor =10921638
  533. LayoutCachedLeft =13266
  534. LayoutCachedTop =56
  535. LayoutCachedWidth =14967
  536. LayoutCachedHeight =371
  537. End
  538. Begin CommandButton
  539. OverlapFlags =85
  540. Left =15590
  541. Top =56
  542. Width =621
  543. Height =396
  544. TabIndex =3
  545. ForeColor =4138256
  546. Name ="Commande24"
  547. Caption ="Commande24"
  548. OnClick ="[Event Procedure]"
  549. PictureData = Begin
  550. 0x2800000010000000100000000100040000000000800000000000000000000000 ,
  551. 0x0000000000000000000000000000800000800000008080008000000080008000 ,
  552. 0x8080000080808000c0c0c0000000ff00c0c0c00000ffff00ff000000c0c0c000 ,
  553. 0xffff0000ffffff00ddddd0dddddddddddddd00ddddddddddddd030dddddddddd ,
  554. 0xdd0330dddddddddd0033300000000dddd03330ff0dddddddd03300ff0dddd4dd ,
  555. 0xd03330ff0ddd44ddd03330ff0dd44444d03330ff0d444444d03330ff0dd44444 ,
  556. 0xd0330fff0ddd44ddd030ffff0dddd4ddd00fffff0dddddddd00000000ddddddd ,
  557. 0xdddddddddddddddd000000000000000000000000000000000000000000000000 ,
  558. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  559. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  560. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  561. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  562. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  563. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  564. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  565. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  566. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  567. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  568. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  569. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  570. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  571. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  572. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  573. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  574. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  575. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  576. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  577. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  578. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  579. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  580. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  581. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  582. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  583. 0x0000000000000000
  584. End
  585. ObjectPalette = Begin
  586. 0x000301000000000000000000
  587. End
  588. ControlTipText ="Fermer formulaire"
  589. GridlineColor =10921638
  590. LayoutCachedLeft =15590
  591. LayoutCachedTop =56
  592. LayoutCachedWidth =16211
  593. LayoutCachedHeight =452
  594. BorderColor =12835293
  595. WebImagePaddingLeft =2
  596. WebImagePaddingTop =2
  597. WebImagePaddingRight =1
  598. WebImagePaddingBottom =1
  599. End
  600. Begin Label
  601. OverlapFlags =93
  602. Left =9184
  603. Top =1476
  604. Width =675
  605. Height =315
  606. BorderColor =16777215
  607. Name ="Étiquette25"
  608. Caption ="Type 2"
  609. GridlineColor =10921638
  610. LayoutCachedLeft =9184
  611. LayoutCachedTop =1476
  612. LayoutCachedWidth =9859
  613. LayoutCachedHeight =1791
  614. ForeThemeColorIndex =0
  615. ForeTint =100.0
  616. End
  617. Begin Rectangle
  618. OverlapFlags =223
  619. Left =8329
  620. Top =963
  621. Width =2385
  622. Height =946
  623. BorderColor =12835293
  624. Name ="Boîte26"
  625. GridlineColor =10921638
  626. LayoutCachedLeft =8329
  627. LayoutCachedTop =963
  628. LayoutCachedWidth =10714
  629. LayoutCachedHeight =1909
  630. End
  631. Begin Rectangle
  632. OverlapFlags =223
  633. Left =10714
  634. Top =963
  635. Width =900
  636. Height =946
  637. BorderColor =12835293
  638. Name ="Boîte27"
  639. GridlineColor =10921638
  640. LayoutCachedLeft =10714
  641. LayoutCachedTop =963
  642. LayoutCachedWidth =11614
  643. LayoutCachedHeight =1909
  644. End
  645. Begin Rectangle
  646. OverlapFlags =223
  647. Left =11621
  648. Top =963
  649. Width =4035
  650. Height =946
  651. BorderColor =12835293
  652. Name ="Boîte28"
  653. GridlineColor =10921638
  654. LayoutCachedLeft =11621
  655. LayoutCachedTop =963
  656. LayoutCachedWidth =15656
  657. LayoutCachedHeight =1909
  658. End
  659. Begin Rectangle
  660. OverlapFlags =215
  661. Left =15646
  662. Top =963
  663. Width =2490
  664. Height =946
  665. BorderColor =12835293
  666. Name ="Boîte29"
  667. GridlineColor =10921638
  668. LayoutCachedLeft =15646
  669. LayoutCachedTop =963
  670. LayoutCachedWidth =18136
  671. LayoutCachedHeight =1909
  672. End
  673. Begin Rectangle
  674. OverlapFlags =223
  675. Left =60
  676. Top =963
  677. Width =8276
  678. Height =946
  679. BorderColor =12835293
  680. Name ="Boîte30"
  681. GridlineColor =10921638
  682. LayoutCachedLeft =60
  683. LayoutCachedTop =963
  684. LayoutCachedWidth =8336
  685. LayoutCachedHeight =1909
  686. End
  687. Begin CommandButton
  688. OverlapFlags =85
  689. Left =113
  690. Top =566
  691. Width =3013
  692. Height =340
  693. TabIndex =4
  694. ForeColor =4138256
  695. Name ="Commande71"
  696. Caption ="Afficher la vue synthétique"
  697. OnClick ="[Event Procedure]"
  698. GridlineColor =10921638
  699. LayoutCachedLeft =113
  700. LayoutCachedTop =566
  701. LayoutCachedWidth =3126
  702. LayoutCachedHeight =906
  703. BorderColor =12835293
  704. WebImagePaddingLeft =2
  705. WebImagePaddingTop =2
  706. WebImagePaddingRight =1
  707. WebImagePaddingBottom =1
  708. End
  709. Begin TextBox
  710. OldBorderStyle =0
  711. OverlapFlags =85
  712. BackStyle =0
  713. IMESentenceMode =3
  714. Left =6916
  715. Top =510
  716. Width =2551
  717. Height =315
  718. ColumnOrder =1
  719. FontWeight =700
  720. TabIndex =5
  721. BorderColor =12835293
  722. ForeColor =2366701
  723. Name ="txt_etat"
  724. GridlineColor =10921638
  725. LayoutCachedLeft =6916
  726. LayoutCachedTop =510
  727. LayoutCachedWidth =9467
  728. LayoutCachedHeight =825
  729. ForeThemeColorIndex =-1
  730. ForeShade =100.0
  731. Begin
  732. Begin Label
  733. OverlapFlags =85
  734. Left =5215
  735. Top =510
  736. Width =870
  737. Height =315
  738. FontWeight =700
  739. BorderColor =16777215
  740. ForeColor =2366701
  741. Name ="txt_libetat"
  742. Caption ="Etat:"
  743. GridlineColor =10921638
  744. LayoutCachedLeft =5215
  745. LayoutCachedTop =510
  746. LayoutCachedWidth =6085
  747. LayoutCachedHeight =825
  748. ForeThemeColorIndex =-1
  749. ForeTint =100.0
  750. End
  751. End
  752. End
  753. Begin TextBox
  754. FontItalic = NotDefault
  755. OldBorderStyle =0
  756. OverlapFlags =215
  757. BackStyle =0
  758. IMESentenceMode =3
  759. Left =113
  760. Top =283
  761. Width =3515
  762. Height =255
  763. ColumnOrder =0
  764. FontSize =9
  765. TabIndex =6
  766. BorderColor =10921638
  767. ForeColor =255
  768. Name ="verif"
  769. ControlSource ="=VerifImport(Nz([lst_agent],\"\"),Nz([lst_mois],0),Nz([lst_annee],0))"
  770. GridlineColor =10921638
  771. LayoutCachedLeft =113
  772. LayoutCachedTop =283
  773. LayoutCachedWidth =3628
  774. LayoutCachedHeight =538
  775. BorderThemeColorIndex =1
  776. BorderShade =65.0
  777. ForeThemeColorIndex =-1
  778. ForeShade =100.0
  779. End
  780. Begin Label
  781. OverlapFlags =215
  782. Left =6683
  783. Top =1474
  784. Width =1080
  785. Height =317
  786. BorderColor =16777215
  787. Name ="Étiquette103"
  788. Caption ="Type Int :"
  789. GridlineColor =10921638
  790. LayoutCachedLeft =6683
  791. LayoutCachedTop =1474
  792. LayoutCachedWidth =7763
  793. LayoutCachedHeight =1791
  794. ForeThemeColorIndex =0
  795. ForeTint =100.0
  796. End
  797. End
  798. End
  799. Begin Section
  800. Height =510
  801. BackColor =15527148
  802. Name ="Détail"
  803. AlternateBackColor =15921906
  804. AlternateBackThemeColorIndex =1
  805. AlternateBackShade =95.0
  806. Begin
  807. Begin TextBox
  808. Visible = NotDefault
  809. OverlapFlags =93
  810. IMESentenceMode =3
  811. Left =5159
  812. Top =170
  813. Width =561
  814. Height =315
  815. TabIndex =18
  816. BorderColor =12835293
  817. ForeColor =4138256
  818. Name ="Localisation"
  819. ControlSource ="Localisation"
  820. ConditionalFormat = Begin
  821. 0x0100000080000000010000000100000000000000000000000f00000001010000 ,
  822. 0xff000000ffffff00000000000000000000000000000000000000000000000000 ,
  823. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  824. 0x5b0056006500720069006600440072006f00690074005d003d00300000000000
  825. End
  826. GridlineColor =10921638
  827. LayoutCachedLeft =5159
  828. LayoutCachedTop =170
  829. LayoutCachedWidth =5720
  830. LayoutCachedHeight =485
  831. ConditionalFormat14 = Begin
  832. 0x010001000000010000000000000001010000ff000000ffffff000e0000005b00 ,
  833. 0x56006500720069006600440072006f00690074005d003d003000000000000000 ,
  834. 0x000000000000000000000000000000
  835. End
  836. End
  837. Begin TextBox
  838. OverlapFlags =93
  839. IMESentenceMode =3
  840. Left =2551
  841. Top =56
  842. Width =1521
  843. Height =315
  844. BorderColor =12835293
  845. ForeColor =4138256
  846. Name ="CodeChantier"
  847. ControlSource ="Depart"
  848. GridlineColor =10921638
  849. LayoutCachedLeft =2551
  850. LayoutCachedTop =56
  851. LayoutCachedWidth =4072
  852. LayoutCachedHeight =371
  853. End
  854. Begin TextBox
  855. OverlapFlags =93
  856. IMESentenceMode =3
  857. Left =1077
  858. Top =56
  859. Width =1416
  860. Height =315
  861. TabIndex =1
  862. BorderColor =12835293
  863. ForeColor =4138256
  864. Name ="DateRH"
  865. ControlSource ="DateRH"
  866. AfterUpdate ="[Event Procedure]"
  867. GridlineColor =10921638
  868. LayoutCachedLeft =1077
  869. LayoutCachedTop =56
  870. LayoutCachedWidth =2493
  871. LayoutCachedHeight =371
  872. End
  873. Begin TextBox
  874. Locked = NotDefault
  875. OverlapFlags =93
  876. IMESentenceMode =3
  877. Left =15759
  878. Top =56
  879. Width =2226
  880. Height =315
  881. ColumnWidth =3225
  882. TabIndex =2
  883. BorderColor =12835293
  884. ForeColor =4138256
  885. Name ="FichierXml"
  886. ControlSource ="FichierXml"
  887. GridlineColor =10921638
  888. LayoutCachedLeft =15759
  889. LayoutCachedTop =56
  890. LayoutCachedWidth =17985
  891. LayoutCachedHeight =371
  892. End
  893. Begin TextBox
  894. OverlapFlags =93
  895. IMESentenceMode =3
  896. Left =8508
  897. Top =56
  898. Width =561
  899. Height =315
  900. TabIndex =3
  901. BorderColor =12835293
  902. ForeColor =4138256
  903. Name ="HeureSup1"
  904. ControlSource ="HeureSup1"
  905. GridlineColor =10921638
  906. LayoutCachedLeft =8508
  907. LayoutCachedTop =56
  908. LayoutCachedWidth =9069
  909. LayoutCachedHeight =371
  910. End
  911. Begin TextBox
  912. OverlapFlags =93
  913. IMESentenceMode =3
  914. Left =9297
  915. Top =56
  916. Width =561
  917. Height =315
  918. TabIndex =4
  919. BorderColor =12835293
  920. ForeColor =4138256
  921. Name ="HeureSup2"
  922. ControlSource ="HeureSup2"
  923. GridlineColor =10921638
  924. LayoutCachedLeft =9297
  925. LayoutCachedTop =56
  926. LayoutCachedWidth =9858
  927. LayoutCachedHeight =371
  928. End
  929. Begin TextBox
  930. OverlapFlags =93
  931. IMESentenceMode =3
  932. Left =9977
  933. Top =56
  934. Width =561
  935. Height =315
  936. TabIndex =5
  937. BorderColor =12835293
  938. ForeColor =4138256
  939. Name ="HeureSupDimanche"
  940. ControlSource ="HeureSupDimanche"
  941. GridlineColor =10921638
  942. LayoutCachedLeft =9977
  943. LayoutCachedTop =56
  944. LayoutCachedWidth =10538
  945. LayoutCachedHeight =371
  946. End
  947. Begin TextBox
  948. OverlapFlags =93
  949. IMESentenceMode =3
  950. Left =10884
  951. Top =56
  952. Width =561
  953. Height =315
  954. TabIndex =6
  955. BorderColor =12835293
  956. ForeColor =4138256
  957. Name ="Repas"
  958. ControlSource ="Repas"
  959. ConditionalFormat = Begin
  960. 0x0100000080000000010000000100000000000000000000000f00000001010000 ,
  961. 0xff000000ffffff00000000000000000000000000000000000000000000000000 ,
  962. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  963. 0x5b0056006500720069006600520065007000610073005d003d00300000000000
  964. End
  965. GridlineColor =10921638
  966. LayoutCachedLeft =10884
  967. LayoutCachedTop =56
  968. LayoutCachedWidth =11445
  969. LayoutCachedHeight =371
  970. ConditionalFormat14 = Begin
  971. 0x010001000000010000000000000001010000ff000000ffffff000e0000005b00 ,
  972. 0x56006500720069006600520065007000610073005d003d003000000000000000 ,
  973. 0x000000000000000000000000000000
  974. End
  975. End
  976. Begin TextBox
  977. OverlapFlags =93
  978. IMESentenceMode =3
  979. Left =11734
  980. Top =56
  981. Width =681
  982. Height =315
  983. TabIndex =7
  984. BorderColor =12835293
  985. ForeColor =4138256
  986. Name ="DistanceTranche1"
  987. ControlSource ="DistanceTranche1"
  988. GridlineColor =10921638
  989. LayoutCachedLeft =11734
  990. LayoutCachedTop =56
  991. LayoutCachedWidth =12415
  992. LayoutCachedHeight =371
  993. End
  994. Begin TextBox
  995. OverlapFlags =93
  996. IMESentenceMode =3
  997. Left =13321
  998. Top =56
  999. Width =666
  1000. Height =315
  1001. TabIndex =8
  1002. BorderColor =12835293
  1003. ForeColor =4138256
  1004. Name ="DistanceTranche2"
  1005. ControlSource ="DistanceTranche2"
  1006. GridlineColor =10921638
  1007. LayoutCachedLeft =13321
  1008. LayoutCachedTop =56
  1009. LayoutCachedWidth =13987
  1010. LayoutCachedHeight =371
  1011. End
  1012. Begin TextBox
  1013. Locked = NotDefault
  1014. OverlapFlags =93
  1015. IMESentenceMode =3
  1016. Left =113
  1017. Top =56
  1018. Width =516
  1019. Height =315
  1020. ColumnWidth =1785
  1021. TabIndex =9
  1022. BorderColor =12835293
  1023. ForeColor =4138256
  1024. Name ="strEquipesLibelle"
  1025. ControlSource ="CodeAgent"
  1026. StatusBarText ="Libelle de l'équipe"
  1027. GridlineColor =10921638
  1028. LayoutCachedLeft =113
  1029. LayoutCachedTop =56
  1030. LayoutCachedWidth =629
  1031. LayoutCachedHeight =371
  1032. End
  1033. Begin Rectangle
  1034. OverlapFlags =255
  1035. Left =60
  1036. Width =8280
  1037. Height =451
  1038. BorderColor =12835293
  1039. Name ="Boîte31"
  1040. GridlineColor =10921638
  1041. LayoutCachedLeft =60
  1042. LayoutCachedWidth =8340
  1043. LayoutCachedHeight =451
  1044. End
  1045. Begin Rectangle
  1046. OverlapFlags =255
  1047. Left =8329
  1048. Width =2385
  1049. Height =451
  1050. BorderColor =12835293
  1051. Name ="Boîte32"
  1052. GridlineColor =10921638
  1053. LayoutCachedLeft =8329
  1054. LayoutCachedWidth =10714
  1055. LayoutCachedHeight =451
  1056. End
  1057. Begin Rectangle
  1058. OverlapFlags =255
  1059. Left =10714
  1060. Width =900
  1061. Height =451
  1062. BorderColor =12835293
  1063. Name ="Boîte33"
  1064. GridlineColor =10921638
  1065. LayoutCachedLeft =10714
  1066. LayoutCachedWidth =11614
  1067. LayoutCachedHeight =451
  1068. End
  1069. Begin Rectangle
  1070. OverlapFlags =255
  1071. Left =11621
  1072. Width =4035
  1073. Height =451
  1074. BorderColor =12835293
  1075. Name ="Boîte34"
  1076. GridlineColor =10921638
  1077. LayoutCachedLeft =11621
  1078. LayoutCachedWidth =15656
  1079. LayoutCachedHeight =451
  1080. End
  1081. Begin Rectangle
  1082. OverlapFlags =255
  1083. Left =15646
  1084. Width =2490
  1085. Height =451
  1086. BorderColor =12835293
  1087. Name ="Boîte35"
  1088. GridlineColor =10921638
  1089. LayoutCachedLeft =15646
  1090. LayoutCachedWidth =18136
  1091. LayoutCachedHeight =451
  1092. End
  1093. Begin CommandButton
  1094. OverlapFlags =255
  1095. Left =14966
  1096. Top =56
  1097. Width =453
  1098. Height =265
  1099. TabIndex =10
  1100. ForeColor =4138256
  1101. Name ="Distance"
  1102. Caption ="Commande94"
  1103. OnClick ="[Event Procedure]"
  1104. GridlineColor =10921638
  1105. ImageData = Begin
  1106. 0x2800000010000000100000000100200000000000000000000000000000000000 ,
  1107. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1108. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1109. 0x0000000000000000000000000000000000000000000000009070603090706080 ,
  1110. 0x906850c0806850f0806050f0805840c070584080705040300000000000000000 ,
  1111. 0x0000000000000000000000000000000000000000a0786060907060e0907050ff ,
  1112. 0x706840ff906840ffb06840ff906040ff805040ff705040e07050406000000000 ,
  1113. 0x00000000000000000000000000000000a0806060a07860f0c08060ff807830ff ,
  1114. 0x607820ff506040ff906040ffc06840ffb06040ff905840ff705040f070504060 ,
  1115. 0x000000000000000000000000b0807030a07860e0d08860fff08860ffd08040ff ,
  1116. 0x608820ff308820ff606830ff706840ffb06840ffb06040ff905840ff705040e0 ,
  1117. 0x705040300000000000000000b0807080c08870fff09860fff09060ffc08860ff ,
  1118. 0x508040ff409820ff408830ff707040ffb06840ff806040ff606040ff605840ff ,
  1119. 0x705840800000000000000000b08070c0e09870ffffa070ffe09070ff707850ff ,
  1120. 0x50a840ff50a830ff809830ffd07850ff707040ff506840ff307810ff606830ff ,
  1121. 0x805840c00000000000000000b08870f0f0b890fff0a880ff607860ff609850ff ,
  1122. 0x60b040ff90a040ffe08860ffd08050ff507050ff408830ff309010ff408020ff ,
  1123. 0x806050f00000000000000000b08870f0ffb8a0ffa09880ff40a850ff60b850ff ,
  1124. 0x909860ffe09870ffe09060ffe08860ff60a030ff40a020ff409820ff408820ff ,
  1125. 0x806850f00000000000000000b08870c0e0b8a0ff90b880ff50c870ff50c870ff ,
  1126. 0x80a070ffc0a070ffd09870ffe09060ffa09840ff50a830ff40a020ff508830ff ,
  1127. 0x906850c00000000000000000b0907080b0a080ff90d0a0ff70e090ff90e0a0ff ,
  1128. 0x80e8a0ffa0d090ffb0a870fff09870ffe09060ff50a830ff50a830ff708840ff ,
  1129. 0x907060800000000000000000b0907030b09080e090c8a0ffa0e8b0ffd0f0c0ff ,
  1130. 0xd0f8d0fff0f8d0ffb0e8b0ff809860ffd09840ffb09040ff609840ff907050e0 ,
  1131. 0x90706030000000000000000000000000b0908070b0a080f0b0d8b0ffd0f0d0ff ,
  1132. 0xe0f8d0ff80b070ff80d890ff50b070ff908840ffd08860ffa07860f0a0786060 ,
  1133. 0x0000000000000000000000000000000000000000b0908070b09080e0c0c0a0ff ,
  1134. 0xd0e0c0ffb0e8b0ff80e0a0ff60b870ffa08850ffa07860e0a080606000000000 ,
  1135. 0x000000000000000000000000000000000000000000000000b0908030b0908080 ,
  1136. 0xb09080c0b09080f0c09880f0b09080c0b0807080b08070300000000000000000 ,
  1137. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1138. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1139. 0x0000000000000000
  1140. End
  1141. LayoutCachedLeft =14966
  1142. LayoutCachedTop =56
  1143. LayoutCachedWidth =15419
  1144. LayoutCachedHeight =321
  1145. BorderColor =12835293
  1146. WebImagePaddingLeft =2
  1147. WebImagePaddingTop =2
  1148. WebImagePaddingRight =1
  1149. WebImagePaddingBottom =1
  1150. Overlaps =1
  1151. End
  1152. Begin TextBox
  1153. Visible = NotDefault
  1154. OverlapFlags =247
  1155. IMESentenceMode =3
  1156. Left =11451
  1157. Top =56
  1158. Width =272
  1159. Height =285
  1160. TabIndex =11
  1161. BorderColor =12835293
  1162. ForeColor =4138256
  1163. Name ="VerifRepas"
  1164. ControlSource ="=VerifRepas([CodeAgent],[DateRH])"
  1165. GridlineColor =10921638
  1166. LayoutCachedLeft =11451
  1167. LayoutCachedTop =56
  1168. LayoutCachedWidth =11723
  1169. LayoutCachedHeight =341
  1170. End
  1171. Begin TextBox
  1172. Visible = NotDefault
  1173. OverlapFlags =247
  1174. IMESentenceMode =3
  1175. Left =8277
  1176. Top =56
  1177. Width =230
  1178. Height =315
  1179. TabIndex =12
  1180. BorderColor =12835293
  1181. ForeColor =4138256
  1182. Name ="VerifDroit"
  1183. ControlSource ="valide"
  1184. GridlineColor =10921638
  1185. LayoutCachedLeft =8277
  1186. LayoutCachedTop =56
  1187. LayoutCachedWidth =8507
  1188. LayoutCachedHeight =371
  1189. End
  1190. Begin ComboBox
  1191. RowSourceTypeInt =1
  1192. OverlapFlags =247
  1193. IMESentenceMode =3
  1194. ColumnCount =2
  1195. Left =12472
  1196. Top =56
  1197. Width =752
  1198. Height =315
  1199. TabIndex =13
  1200. BorderColor =12835293
  1201. ForeColor =4138256
  1202. ConditionalFormat = Begin
  1203. 0x010000007a000000010000000100000000000000000000000c00000001010000 ,
  1204. 0xed1c2400ffffff00000000000000000000000000000000000000000000000000 ,
  1205. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1206. 0x5b0056006500720069006600560050005d003d00300000000000
  1207. End
  1208. Name ="VehiculePersoTranche1"
  1209. ControlSource ="VehiculePersoTranche1"
  1210. RowSourceType ="Value List"
  1211. RowSource ="\"True\";\"Oui\";\"False\";\"Non\""
  1212. ColumnWidths ="0;794"
  1213. GridlineColor =10921638
  1214. LayoutCachedLeft =12472
  1215. LayoutCachedTop =56
  1216. LayoutCachedWidth =13224
  1217. LayoutCachedHeight =371
  1218. ConditionalFormat14 = Begin
  1219. 0x010001000000010000000000000001010000ed1c2400ffffff000b0000005b00 ,
  1220. 0x56006500720069006600560050005d003d003000000000000000000000000000 ,
  1221. 0x000000000000000000
  1222. End
  1223. End
  1224. Begin ComboBox
  1225. LimitToList = NotDefault
  1226. RowSourceTypeInt =1
  1227. OverlapFlags =247
  1228. IMESentenceMode =3
  1229. ColumnCount =2
  1230. Left =14059
  1231. Top =56
  1232. Width =752
  1233. Height =315
  1234. TabIndex =14
  1235. BorderColor =12835293
  1236. ForeColor =4138256
  1237. ConditionalFormat = Begin
  1238. 0x010000007a000000010000000100000000000000000000000c00000001010000 ,
  1239. 0xed1c2400ffffff00000000000000000000000000000000000000000000000000 ,
  1240. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1241. 0x5b0056006500720069006600560050005d003d00300000000000
  1242. End
  1243. Name ="VehiculePersoTranche2"
  1244. ControlSource ="VehiculePersoTranche2"
  1245. RowSourceType ="Value List"
  1246. RowSource ="\"True\";\"Oui\";\"False\";\"Non\""
  1247. ColumnWidths ="0;795"
  1248. GridlineColor =10921638
  1249. LayoutCachedLeft =14059
  1250. LayoutCachedTop =56
  1251. LayoutCachedWidth =14811
  1252. LayoutCachedHeight =371
  1253. ConditionalFormat14 = Begin
  1254. 0x010001000000010000000000000001010000ed1c2400ffffff000b0000005b00 ,
  1255. 0x56006500720069006600560050005d003d003000000000000000000000000000 ,
  1256. 0x000000000000000000
  1257. End
  1258. End
  1259. Begin TextBox
  1260. Visible = NotDefault
  1261. OverlapFlags =247
  1262. IMESentenceMode =3
  1263. Left =15419
  1264. Top =56
  1265. Width =230
  1266. Height =315
  1267. TabIndex =15
  1268. BorderColor =12835293
  1269. ForeColor =4138256
  1270. Name ="VerifVP"
  1271. ControlSource ="=VerifVP([CodeAgent],[DateRH])"
  1272. GridlineColor =10921638
  1273. LayoutCachedLeft =15419
  1274. LayoutCachedTop =56
  1275. LayoutCachedWidth =15649
  1276. LayoutCachedHeight =371
  1277. End
  1278. Begin ComboBox
  1279. OverlapFlags =247
  1280. IMESentenceMode =3
  1281. ColumnCount =2
  1282. ListWidth =5670
  1283. Left =6074
  1284. Top =56
  1285. Width =2146
  1286. Height =315
  1287. TabIndex =16
  1288. BorderColor =12835293
  1289. ForeColor =4138256
  1290. ColumnInfo ="\"\";\"\";\"\";\"\";\"10\";\"100\""
  1291. Name ="strCategorieInterventionId"
  1292. ControlSource ="strCategorieInterventionId"
  1293. RowSourceType ="Table/Query"
  1294. RowSource ="SELECT pdaNatInterv.strCategorieInterventioinId, pdaNatInterv.strCategorieInterv"
  1295. "entioinLibelle FROM pdaNatInterv; "
  1296. ColumnWidths ="0;2268"
  1297. GridlineColor =10921638
  1298. LayoutCachedLeft =6074
  1299. LayoutCachedTop =56
  1300. LayoutCachedWidth =8220
  1301. LayoutCachedHeight =371
  1302. End
  1303. Begin ComboBox
  1304. OverlapFlags =247
  1305. IMESentenceMode =3
  1306. ColumnCount =2
  1307. ListWidth =3402
  1308. Left =4138
  1309. Top =56
  1310. Width =1883
  1311. Height =315
  1312. TabIndex =17
  1313. BorderColor =12835293
  1314. ForeColor =4138256
  1315. ColumnInfo ="\"\";\"\";\"\";\"\";\"10\";\"80\""
  1316. ConditionalFormat = Begin
  1317. 0x0100000080000000010000000100000000000000000000000f00000001010000 ,
  1318. 0xff000000ffffff00000000000000000000000000000000000000000000000000 ,
  1319. 0x0000000000000000000000000000000000000000000000000000000000000000 ,
  1320. 0x5b0056006500720069006600440072006f00690074005d003d00300000000000
  1321. End
  1322. Name ="CodeLocalisation"
  1323. ControlSource ="CodeLocalisation"
  1324. RowSourceType ="Table/Query"
  1325. RowSource ="SELECT pdalocalisation.lngTiersId, pdalocalisation.strTiersMnemo FROM pdalocalis"
  1326. "ation ORDER BY pdalocalisation.strTiersMnemo; "
  1327. ColumnWidths ="0;3402"
  1328. AfterUpdate ="[Event Procedure]"
  1329. GridlineColor =10921638
  1330. LayoutCachedLeft =4138
  1331. LayoutCachedTop =56
  1332. LayoutCachedWidth =6021
  1333. LayoutCachedHeight =371
  1334. ConditionalFormat14 = Begin
  1335. 0x010001000000010000000000000001010000ff000000ffffff000e0000005b00 ,
  1336. 0x56006500720069006600440072006f00690074005d003d003000000000000000 ,
  1337. 0x000000000000000000000000000000
  1338. End
  1339. End
  1340. End
  1341. End
  1342. Begin FormFooter
  1343. Height =680
  1344. BackColor =14211288
  1345. Name ="PiedFormulaire"
  1346. AlternateBackThemeColorIndex =1
  1347. AlternateBackShade =95.0
  1348. Begin
  1349. Begin Label
  1350. Visible = NotDefault
  1351. OverlapFlags =85
  1352. Left =113
  1353. Top =170
  1354. Width =6130
  1355. Height =396
  1356. BorderColor =16777215
  1357. ForeColor =2366701
  1358. Name ="txt_msg"
  1359. Caption ="."
  1360. GridlineColor =10921638
  1361. LayoutCachedLeft =113
  1362. LayoutCachedTop =170
  1363. LayoutCachedWidth =6243
  1364. LayoutCachedHeight =566
  1365. ForeThemeColorIndex =-1
  1366. ForeTint =100.0
  1367. End
  1368. End
  1369. End
  1370. End
  1371. End
  1372. CodeBehindForm
  1373. Attribute VB_GlobalNameSpace = False
  1374. Attribute VB_Creatable = True
  1375. Attribute VB_PredeclaredId = True
  1376. Attribute VB_Exposed = False
  1377. Option Compare Database
  1378. Private Sub cmdValider_Click()
  1379. Dim CodeAgent As String
  1380. Dim moisRH, anneeRH As Integer
  1381. 'verif de l'agent, du mois, de l'annee
  1382. CodeAgent = Me.lst_agent.Column(0)
  1383. moisRH = Me.lst_mois.Column(0)
  1384. anneeRH = Me.lst_annee.Column(0)
  1385. If IsNull(CodeAgent) Or CodeAgent = "" Then
  1386. MsgBox "Selectionner un agent"
  1387. Exit Sub
  1388. End If
  1389. If Not moisRH > 0 And Not moisRH < 13 Then
  1390. MsgBox "Choisir un mois valide"
  1391. Exit Sub
  1392. End If
  1393. If Not anneeRH > 1900 Then
  1394. MsgBox "Choisir une année valide"
  1395. Exit Sub
  1396. End If
  1397. 'un test de l'existence d'une ligne de suivi est effectué sur mise à jour de l'affichage
  1398. 'verification de l'état actuel
  1399. filtre = "[CodeAgent]='" & CodeAgent & "' AND [MoisRH]=" & moisRH & " AND [AnneeRH]=" & anneeRH
  1400. Etat = Nz(DLookup("Etat", "tbl_SuiviRH", filtre), "")
  1401. If Etat = "Importé" Then
  1402. ElseIf Etat = "" Then
  1403. MsgBox "Erreur: Données manquantes dans la table de suivi, contacter un administrateur"
  1404. Exit Sub
  1405. Else
  1406. MsgBox "Erreur: Ces données on déja été validées"
  1407. Exit Sub
  1408. End If
  1409. 'lancement de la procédure de traitement des données
  1410. 'Call validation(CodeAgent, moisRH, agentRH)
  1411. End Sub
  1412. Private Sub CodeLocalisation_AfterUpdate()
  1413. Me.Localisation = Me.CodeLocalisation.Column(1)
  1414. End Sub
  1415. Private Sub Commande71_Click()
  1416. DoCmd.OpenForm "frm_SyntheseRH"
  1417. End Sub
  1418. Private Sub DateRH_AfterUpdate()
  1419. If Not IsDate(Me.DateRH) Then
  1420. MsgBox "Vous devez entrer une date valide"
  1421. Me.DateRH = Me.DateRH.OldValue
  1422. Else
  1423. If Month(Me.DateRH) <> Month(Me.DateRH.OldValue) Or Year(Me.DateRH) <> Year(Me.DateRH.OldValue) Then
  1424. MsgBox ("Vous ne pouvez pas modifier le mois ou l'année d'une date, veuillez supprimer la ligne et la recréer au mois désiré")
  1425. Me.DateRH = Me.DateRH.OldValue
  1426. End If
  1427. End If
  1428. End Sub
  1429. Private Sub Distance_Click()
  1430. Dim Depart, arrivee As String
  1431. Depart = Nz(DLookup("ResidenceFamiliale", "tbl_Agents", "[CodeAgent]='" & Me.CodeAgent & "' AND [PeriodeValidite]=" & PeriodeAgent(Me.CodeAgent, Me.moisRH, Me.anneeRH)), "Erstein")
  1432. arrivee = Me.Localisation
  1433. Call DistanceInternet(Depart, arrivee)
  1434. End Sub
  1435. Private Sub Form_Open(Cancel As Integer)
  1436. 'ouverture d'un formulaire 'vierge'
  1437. Me.Détail.Visible = False
  1438. Me.txt_etat.Visible = False
  1439. Me.txt_libetat.Visible = False
  1440. Me.lst_agent = ""
  1441. Me.lst_annee = Year(DMax("DateRH", "tbl_ImportRH", ""))
  1442. Me.lst_mois = Month(Now()) - 1
  1443. Me.Refresh
  1444. End Sub
  1445. Private Sub lst_agent_AfterUpdate()
  1446. filtreRH
  1447. End Sub
  1448. Private Sub lst_annee_AfterUpdate()
  1449. filtreRH
  1450. End Sub
  1451. Private Sub lst_mois_AfterUpdate()
  1452. filtreRH
  1453. End Sub
  1454. Public Sub filtreRH()
  1455. Dim CodeAgent As String
  1456. Dim moisRH, anneeRH As Integer
  1457. Dim filtre, Etat As String
  1458. If Me.lst_agent <> "" And Me.lst_annee > 2000 And Me.lst_mois <= 12 And Me.lst_mois > 0 Then
  1459. CodeAgent = Me.lst_agent.Column(0)
  1460. moisRH = Me.lst_mois.Column(0)
  1461. anneeRH = Me.lst_annee.Column(0)
  1462. 'MAJ du filtre
  1463. filtre = "[CodeAgent]='" & CodeAgent & "' AND [MoisRH]=" & moisRH & " AND [AnneeRH]=" & anneeRH
  1464. Me.Filter = filtre
  1465. Me.FilterOn = True
  1466. Me.OrderBy = "[DateRH]"
  1467. 'test du fichier de suivi
  1468. Etat = Nz(DLookup("Etat", "tbl_SuiviRH", filtre), "")
  1469. Select Case Etat
  1470. Case ""
  1471. Me.txt_msg.Caption = "Le fichier n'a pas été détecté comme importé à l'ouverture de l'application, veuillez en faire part à un administrateur"
  1472. Exit Sub
  1473. Case "Importé"
  1474. Call VerrouDonneesImport(0)
  1475. Case "Validé"
  1476. Call VerrouDonneesImport(1)
  1477. Case "Edité"
  1478. Call VerrouDonneesImport(1)
  1479. Case "Invalidé"
  1480. Call VerrouDonneesImport(0)
  1481. End Select
  1482. Me.txt_etat = Etat
  1483. Me.Détail.Visible = True
  1484. Me.txt_etat.Visible = True
  1485. Me.txt_libetat.Visible = True
  1486. Me.txt_etat.Locked = True
  1487. End If
  1488. End Sub
  1489. Private Sub Commande24_Click()
  1490. On Error GoTo Err_Commande24_Click
  1491. If Me.Dirty Then Me.Dirty = False
  1492. DoCmd.Close
  1493. Exit_Commande24_Click:
  1494. Exit Sub
  1495. Err_Commande24_Click:
  1496. MsgBox err.Description
  1497. Resume Exit_Commande24_Click
  1498. End Sub