Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property literals appear rather than property values on
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00687179
Message ID:
00687295
Views:
14
Hi Richard,

It does sounds like a problem somewhere in your code. I would do global search for such text ("CTOD(SPACE(6))") and look for places where that value is stored into control instead of evaluation of that expression.

>The subject pretty much tells the tale. I have this large project I'm developing which consists mainly of one form with a page frame as its main form. On on of these page tabs, occassionally, instead of the values of the properties appearing in the screen, the literals will appear in their place. For example, instead of displaying spaces in a blank date field, it will display "CTOD(SPACE(6))" instead. It is almost as if the initialization of those variables/properties is being bypassed. These properties are all initialized in the Activate method for that tab. The properties themselves are held in a container which is invisible but a property of the page frame itself. I can run the program repeatedly and never see this behavior and then suddenly it will manifest. Sometimes I can "fix" this by simply exiting the application and restarting it. Other times even that doesn't work.
>
>It's driving me crazy, especially since this behavior almost appears to be random (Of course, nothing is random, but the pattern is not very obvious). My source code is huge so posting it here would not be practical. I will be elated if anyone can even give me some possible reasons this might be happening and/or some suggestions on how to isolate it. I just know its going to end up being one silly line of code or something like that, when I finally find it.
>
>This is a very big problem and until it is solves, there is no way we can distribute this application, obviously. I really need some help on this.
>
>Thanks very much, in advance.
>
>Richard Bates
>Denver, CO
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform