Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Severe situation on bug
Message
 
 
To
30/07/2001 12:19:11
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00537068
Message ID:
00537311
Views:
32
>>>>>>I figured this out. Change you ERROR metod
>>>>>>FUNCTION Error
>>>>>>PARAMETER nError,cMethod,nLine
>>>>>><b>MESSAGEBOX('ErrorMethod')</b>
>>>>>>RETURN TO ShowMessage
and run your code. You wouldn't see ErrorMethod message because COUNT FOR IRegion=lnRegion doesn't generate an error!
>>>>>>
>>>>>>To confirm it just run COUNT FOR IRegion=lnRegion from command window on any open table.
>>>>>>You can use
>>>>>
>>>>>Yes, you are right. Count doesn't fire up an error. How could that be? I need it to fire on error. Do you know why this VFP function doesn't fire an error? It's amazing to see the reaction of the Count function.
>>>>
>>>>It's not only COUNT. I observe the same behavior with LOCATE and SUM. I would guess that any command with FOR clause works this way.
>>>
>>>I wonder if this is solved in VFP 7.
>>
>>Yes it fixed. The COUNT and LOCATE I tried returned "Variable 'LNREGION' is not found" error message.
>
>Good to hear.
Sorry, I was wrong. It works the same way. And after I restarted VFP 6 and VFP 7 I see in both that Error Event is firing but it still goes to ShowMessage2 and ShowMessage1. And COUNT FOR ... in commend window gives error in VFP 6 and 7. I looks like we are back to square 1.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform