Re: hImporteTexte mais quelle texte?????????????

Posté par esylanA le 23/4/2004 10:13:00
J'en profite pour filer le code que j'utilise et qui fonctionne pô:

SI HImporteTexte(EFFECTIF_HOTLINE,"C:\Documents and Settings\GDELCROIX\Bureau\Effectif2.txt", "Date,IDCONTACT,NbMagReel,NbMagInscrit,NbInterloc,Eff11,Eff11_19,Eff20_49,Eff50_199,Eff200") ALORS
Info("GOOOOOOOOOOD")
SINON
Info("BAAAAAAAAAD")
FIN


Voici le texte que j'utilise:


Date IDCONTACT NbMagReel NbMagInscrit NbInterloc Eff11 Eff11_19 Eff20_49 Eff50_199 Eff200
31/01/2002 1506 327 212 361 79 64 60 9 0
28/02/2002 1506 327 212 361 79 64 60 9 0
31/03/2002 1506 327 212 361 79 64 60 9 0
30/04/2002 1506 327 212 361 79 64 60 9 0
31/05/2002 1506 327 212 361 79 64 60 9 0
30/06/2002 1506 327 212 361 79 64 60 9 0
31/07/2002 1506 327 212 361 79 64 60 9 0
31/08/2002 1506 327 212 361 79 64 60 9 0
30/09/2002 1506 327 231 392 93 66 62 10 0
31/10/2002 1506 327 231 392 93 66 62 10 0
30/11/2002 1506 327 234 395 96 66 62 10 0
31/12/2002 1506 327 235 398 96 67 62 10 0
31/01/2003 1506 327 236 401 96 68 62 10 0
28/02/2003 1506 327 244 450 84 72 77 11 0
31/03/2003 1506 327 251 465 86 72 81 12 0
30/04/2003 1506 327 242 414 98 70 64 10 0



Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=5&topic_id=795&post_id=3158