Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on Error Handling (VFP6)
Message
From
09/11/2004 09:54:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00959475
Message ID:
00959540
Views:
5
I agree. I forgot the condition to end the loop.

>Hilmar i think your code for retry will be etarnal
>should be like this
>
>local llError
>on error llError = .T.
>do while .T.
>  llError = .F.
>  copy file aaa to bbb
>  if llError and MessageBox("Error copying file. Do you want to retry?") = ID_YES
>    loop
>  endif
>  exit
>enddo
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform