Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Updating records in table via SCAN loop
Message
From
07/06/2002 10:17:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/06/2002 10:02:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00665663
Message ID:
00665944
Views:
20
>I must have hit send too soon. For I meant
>4. Another suggestion was to use TABLEUPDATE() with an error array. What is in the array and how to I force an error to check it?

Sample:
if not TableUpdate()
  local laError(1)
  aerror(laError)
  MessageBox("Error #" + trans(laError(1)) + "Message: " + laError(2))
endif
Element 1 contains the error number, element 2, the message.

See aerror() for more details.

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
Reply
Map
View

Click here to load this message in the networking platform