Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Trigger
Message
From
08/09/2004 10:34:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/09/2004 10:12:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00940269
Message ID:
00940279
Views:
18
>I'm trying to work with triggers, I call a procedure when insert, update or delete records. It seems to work fine but.... if I create a cursor as an image of a triggered table the trigger starts working even on this cursor and that is not what i want to :-).
>I create the trigger with create cursor "cursorname" from array "arrayname" where the array is generated by the Afield fuction.
>
>Thank you
>Alessio

Alessio,
1) You might set cols 13..15 to '' to avoid triggers.
2) Instead of afields() and create ... from array you might select into cursor. ie:
select * from myTable where .F. into cursor crsMyCursor readwrite
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform