Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format display of zipcode problem
Message
From
28/03/2002 13:38:04
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00638566
Message ID:
00638579
Views:
20
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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform