ID: Q136758
2.60a MACINTOSH kbtool kbprb
The information in this article applies to:
In FoxPro for Macintosh, using #ITSEXPRESSION with a GET command does not display the picture correctly when a picture clause is used and when the value to be displayed is a character value.
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
1. Create a new screen.
2. In the setup code, type:
#ITSEXPRESSION ~
cPicture = "@Z 9,999.99"
cValue = "123.45"
NOTE: A space should appear between the 'N' of #ITSEXPRESSION and the
tilde (~), otherwise the screen appears and then immediately closes when
it is run.
3. In the Screen Builder, create a get field with input of cValue and
FORMAT of ~cPicture. When you run the screen, notice that value comes up
in the screen as @Z .,5. If cValue is initialized as numeric with value
of 123.45 or as character with a value of "", the value is displayed
correctly.
Additional reference words: 2.60a FoxMac
KBCategory: kbtool kbprb
KBSubcategory: FxtoolSbuilder
Keywords : FxtoolSbuilder
Version : 2.60a
Platform : MACINTOSH
Last Reviewed: May 18, 1996