Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format display of zipcode problem
Message
De
28/03/2002 13:38:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00638566
Message ID:
00638579
Vues:
18
But Jim, this is a field on a report, not a form. Is there a way to do this to control the display of a zipcode (stored in the table like: 28314, 238934444, etc) in reports?
>Tracy,
>
>I would put this in the textbox's Refresh method.
>
>
>* Textbox refresh()
>IF LEN(ALLTRIM(PO_ZIP))>5
>   This.Format = "R"
>   This.InputMask = "99999-9999"
>ELSE
>   This.Format = ""
>   This.Inputmask = "99999"
>ENDIF
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform