Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index
Message
From
06/12/2004 12:24:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/12/2004 11:38:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00967188
Message ID:
00967252
Views:
20
>I want something like this:
>if the error number is #
>loop

And I meant that:
scan
  on error lHadError = .t.
  inser into ...
  on error
  if m.lHadError
    m.lHadError = .f.
    aerror(aErr)
    if aErr = err#
    ...
    endif
  endif
endscan
PS: You have VFP8. Then you might want to utilize try..catch..endtry instead.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform