Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating dbf failing on trigger
Message
General information
Forum:
C#
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01672523
Message ID:
01672538
Views:
48
>hi all,
>I'm trying to update a VFP table from c# code. It's a simple update command, update 1 field based on 1 condition in the where clause. It works on several other tables so I know that the code is okay. However I need to update 1 table which happens to have a trigger on the update. When I try this in VFP it's fine, however when trying it in .net it gives an error on the trigger element and does not work. I get this as the error
>system.data.oledb.oledbconnection (0x80004005): Trigger failed in TableName

What are you doing in the Trigger code?

The VFP OleDb driver is does not have access to all of FoxPro's language features, most likely you're using some language construct that's not supported in the trigger.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform