Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00033739
Message ID:
00034310
Views:
44
-- snip --
>I have a do case statement in the code section of this modal form which assigns a char value into the variable 'asort' depending on how they want to see the data sorted. Am trying to think how to invoke destroy event into this scheme.
>Does the variable have to have a name in the form formname.var?

Tim,
Two things to be aware of:
1. ASORT is a VFP function (sorts an array) and therefore should NOT be used as a variable. VFP gets very confused, and you'll get weird responses. Try cSort or MySort or something VFP doesn't also use.

2. Assuming that (1) above isn't the problem, you may just have a gremlin in your program. I too kept getting a .T. when I should have gotten a character return - on a form that had been working earlier. I finally unloaded VFP and re-started it. No further problems with the form. Had a glitch in the memory or something.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform