Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate()
Message
From
26/06/2002 10:40:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/06/2002 10:37:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00672466
Message ID:
00672468
Views:
7
>What kind of error Tableupdate(.T., .T.) could generate and why?
>
>Thanks, Mark

TableUpdate() can fail for several reasons; the most relevant are:

  • Another user made changes while the current user was editing (not applicable with the syntax you provided).
  • Field rule or table rule is violated.
  • Trigger is violated. This includes RI.
  • Index uniqueness is violated.

    Use aerror() to get the number and message for the actual error.

    HTH, Hilmar.
    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
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform