Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text file - repeating data removal
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Text file - repeating data removal
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01570495
Message ID:
01570495
Vues:
56
Hi Gang!

Question....

Do you have any VFP code that will allow you to remove repetitious lines in a text file of data?

For example.......
NHC01A78717871         1 1         diaganosis                                                                                                  2    20130409095657
NHC01A78717871         3 1         Lay off the Doritos                                                                                         2    20130409095657
NHC01A78717871         4 1         Activity                                                                                                    2    20130409095657
NHC01A78717871         5 1         Ancillary orders                                                                                            2    20130409095657
NHC01A78717871         6 1         dr orders                                                                                                   2    20130409095657
NHC01A78717871         7 1         rehabs                                                                                                      2    20130409095657
NHC01A78717871         8 1         >This annoyed me pretty much                                                                                2    NHC01A78717871         1 1         diaganosis                                                                                                  2    20130409095657
NHC01A78717871         3 1         Lay off the Doritos                                                                                         2    20130409095657
NHC01A78717871         4 1         Activity                                                                                                    2    20130409095657
NHC01A78717871         5 1         Ancillary orders                                                                                            2    20130409095657
NHC01A78717871         6 1         dr orders                                                                                                   2    20130409095657
NHC01A78717871         7 1         rehabs                                                                                                      2    20130409095657
NHC01A78717871         8 1         >This annoyed me pretty much                                                                                2    

.... and so on........
As you can see, the data repeats every so often....... in general, it won't be this nice, but there will be repeating lines of data in the text file.

I'd like to just send over unique lines of text, since the other end receiving it does not want repeating rows of data, they only want unique data.

Thanks for any help!!!

Tommy
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform