Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long and\or works in IDE not as EXE
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00723226
Message ID:
00723924
Views:
9
Sergey,

Thanks for the pointer, it didn't give him quite what he wanted, but stirred him to restructure his code. Now he gets what he wants.


>Hi R,
>
>Tell your coworker to add NOFILTER clause to the SELECT, so VFP'll create cursor as a temp table not as a filtered source table. Remind him/her that there's _TALLY system variable that stores the # of records returned/processed by the last table releted command.
...
>into cursor tempsCheck NOFILTER
>if _TALLY > 0
>	why = "Already Assigned To " +truck_num
>	messagebox(why, 16, "E")
>	use
>	return
>endif
BTW, 'CREATE CURSOR ...' command before SELECT is useless because SELECT creates new cursor anyway.
>
>
>>Hi,
>>
>>My coworker has an app that in the doubleclick event of a listbox, moves the selected item to another listbox. Running the forms in the IDE everything works as desired. As an EXE on runtime however, doubleclicking always hits the IF bringing up the already assigned messagebox. What is so IDE friendly in this?
>>
>>TIA
< snip >
Opportunity is missed by most people beacuse it is dressed in overalls, and looks like work --- Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform