Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00270717
Message ID:
00271190
Vues:
28
No. But I think the reply should give some notice as to whether the information was useful or not. IOW, put:

Thanks, that was exactly what I needed.

or

Thanks, but you missed the point completely.

or

Thanks. What the heck are you talking about?

or

Thanks, but your sample doesn't work.


>Thanks Jim. I printed your reply and plan to use it.
>BTW, Is it improper conduct to reply with a Thanks?
>
>
>>Alan,
>>
>>Use all of the agruments for TableUpdate(). They are in order;
>>
>>nRows = 0 one row, 1 all rows and fail on any problem, 2 all rows and do not fail but record failed records in the array argument
>>
>>lForce = .T. force the update over any other user's changes, .F. do not force the update
>>
>>cAlias = The alias name of teh table to be updated (always use this argument as in an event driven interface you have no idea what the currently select work area is).
>>
>>aAarray = the name of an array to record the failed records for nRows = 2
>>
>>Also, always check the retunr value from TableUpdate(), never depend on it succeeding because it may not. Your code can be;
>>
>>
>>IF NOT TableUpdate(1,.F.,"Customer")
>>   AERRORS(laErrors)
>>   * Process laErrors to see what went wrong
>>   * and do what you need to to correct the problem
>>ENDIF
>>
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform