Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get Fox to read just one line of an editbox??
Message
De
23/02/2000 18:57:41
 
 
À
23/02/2000 11:44:56
Brent Knight
Progressive Impressions International
Bloomington, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00336084
Message ID:
00336429
Vues:
19
>I want to enter a whole list of things into an editbox. How do I format the editbox so it read the way I want it to? I want to read 20 char, then 5 Numeric, then 7 numeric, and then 5 numeric. Also my list has spaces in between and some information that I don't want, how I filter that out??? Any help would be appreciated! Thanks. :)

Can you give an example of how it might be done? Why not break the stuff (20, 5, 7, 7) up? Otherwise you can use SubStr() to get the first 20, ect.

Then you can use ChrTran(String, space(1), '') to remove any spaces, and to look at individual lines of say a memo field, you can use ALines() or MLine().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform