Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arquivo aberto
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00843041
Message ID:
00843667
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
Thiago,

Antes do VFP8 eu costumava tratar erros mais ou menos assim...
Local lcErro, llErro
Set Safety Off 
***
lcErro = On("Error")
On ERROR llErro = .T.
Copy File Teste.DBF to Teste2.DBF
If llErro
  MessageBox("Houve problema na cópia")
Else
  MessageBox("Cópia efetuada com Sucesso")
EndIf
On error &lcErro
Previous
Reply
Map
View

Click here to load this message in the networking platform