Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formats
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00194666
Message ID:
00194681
Vues:
24
>>>I think I may have lost my mind or something. Im trying to set up formats to input the phone number and when I do this, I get my dashes and everything in the text box, but the data in the field is stored with out the dashes, how do I get the dashes to also store in the table. I can put the dashes in the table buy hand, then when the data is displayed on my form, I have 2 dashes next to each other and my phone number doesnt look right. I dont want the input clerks to key in the dashes, but I also want the dashes to show up in the tables. any help?
>>>
>>>Thanks
>>>Ron
>>
>>Basically, it's about Control.Format="R". Use it if you want to remove dashes from data, and do not use it you want to keep them. Normal practice is to remove.
>thanks, Ill try that. when reading the help files,I took it as saying to put the "R" in the format so that it would look for the inputmask, with out the "R", then it would bypass the inputmask. Thanks, Ill look into this.
>Ron

You're at least the second person in the past month to read the documentation that way (and say so on the UT). Must be bad documentation. Wouldn't that be a shock! ;) ;)

Fortunately those of us (OK at least me) who came from FoxPro 2.x figured out without reading the docs that Control.Format="R" would work like @...GET PICTURE "@R [mask]" or @...GET FORMAT "R" PICTURE "[mask]".

Cheers,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform