Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Triggers, CANNOT Update the Cursor err
Message
From
04/07/2003 12:57:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00806999
Message ID:
00807033
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform