Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to create an xml file when a updation done in microsoft access database using trigger.Kindly give a sample coding

What I have tried:

As i havent work in access database i have no idea about it.
Posted
Updated 7-Aug-17 19:22pm
Comments
Graeme_Grant 8-Aug-17 1:10am    
As far as I know, what you are asking is only possible with SQL Server, not MS Access.

The same appears to be true according to the world of Google Search: create a trigger for creating an XML in access database[^]

Here is how to do it with SQL Server: SQL Server 2005 Bible - Paul Nielsen - Google Books[^]

1 solution

Access does not support triggers. What you want to do isn't possible using standard SQL techniques.

You have to write the code in VBA that handles INSERT/UPDATE/DELETE functions to which you wanted to perform some trigger operations and write the code for whatever you wanted to do completely in VBA to do anything resembling a trigger.
 
Share this answer
 
Comments
fakeer muhammed 8-Aug-17 6:06am    
Cany you say about macros in access
Dave Kreskowiak 8-Aug-17 8:35am    
What about it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900