Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias() not really the Alias
Message
From
04/03/2008 12:19:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
04/03/2008 12:08:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01298435
Message ID:
01298484
Views:
27
>>>In addition to what Erick has suggested a form with a private data session can show some weirdness in the debugger as to the alais data.
>>
>>No pDS, but this is even stranger. If I just put a STEP into the code before the SELECT, then RESUME, it works fine. If I don't have the STEP, then it doesn't change the ALIAS() and it bombs. Is it a refresh or focus issue? I'm not sure where to even go next given how it's behaving.
>
>Try 2 doEvents before the select instead of set step/resu

That didn't make a difference, but if I close the crsRemarks cursor in the LOAD of the 2nd form (the one that I'm having trouble with), then it works ok. That causes another issue with the calling form as when I close the 2nd form, the cursor is not available and it crashes. The crsRemarks cursor is created in the LOAD of the first form. Can I close the 1st form then call it again when I leave the 2nd form? Seems odd that I might have to go through all this.
Previous
Reply
Map
View

Click here to load this message in the networking platform