Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Run query based on data change in table

Discussion in 'Information Technology' started by Stu Morris, Nov 9, 2005.

  1. Stu Morris

    Stu Morris
    Expand Collapse
    Guest

    I have an InfoPath form which submits and recieves data from an access table.
    I want to do the calculations in Access, i am using a datediff function to
    calculate the number of days between two dates. I want to have the query run
    whenever data is written to the table?

    Any suggestions greatly recieved
    Stu
     
  2. Loading...


  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    There is not such thing as a Trigger on an Access/Jet table. You must either
    change your data engine to SQL-Server, or use Access forms which have proper
    events for doing this.
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "Stu Morris" <StuMorris@discussions.microsoft.com> wrote in message
    news:93997195-A510-4BDA-A395-2AE1A333DCF3@microsoft.com...
    > I have an InfoPath form which submits and recieves data from an access

    table.
    > I want to do the calculations in Access, i am using a datediff function to
    > calculate the number of days between two dates. I want to have the query

    run
    > whenever data is written to the table?
    >
    > Any suggestions greatly recieved
    > Stu
     
  4. Stu Morris

    Stu Morris
    Expand Collapse
    Guest

    Thats a shame
    I have attempted to use the defult value in the table but without success
    i dont have sql server and if i am not sure how this will impact on my
    infopath form.

    Is there no other way??

    Stu

    "Arvin Meyer [MVP]" wrote:

    > There is not such thing as a Trigger on an Access/Jet table. You must either
    > change your data engine to SQL-Server, or use Access forms which have proper
    > events for doing this.
    > --
    > Arvin Meyer, MCP, MVP
    > Microsoft Access
    > Free Access downloads
    > http://www.datastrat.com
    > http://www.mvps.org/access
    >
    > "Stu Morris" <StuMorris@discussions.microsoft.com> wrote in message
    > news:93997195-A510-4BDA-A395-2AE1A333DCF3@microsoft.com...
    > > I have an InfoPath form which submits and recieves data from an access

    > table.
    > > I want to do the calculations in Access, i am using a datediff function to
    > > calculate the number of days between two dates. I want to have the query

    > run
    > > whenever data is written to the table?
    > >
    > > Any suggestions greatly recieved
    > > Stu

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page