Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Updating records in table via SCAN loop
Message
De
07/06/2002 10:17:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/06/2002 10:02:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00665663
Message ID:
00665944
Vues:
18
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform