Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Triggers, CANNOT Update the Cursor err
Message
De
04/07/2003 12:57:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00806999
Message ID:
00807033
Vues:
16
Hi Selim

>
>if !empty(lcString) then
>    replace myMemofield with myMemoField + lcString + chr(13) in myAlias
>endif
>
>
>then I got my err message, can not update the cursor, any ideas why?

Yes. In VFP you cannot use a trigger to make an update in the record that fires the trigger.

One solution is to make your log a separate table and use the trigger to update that table (there are other ways of doing it, but this is probably the simplest).
----
Regards
Andy Kramek
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform