Welcome to SPN

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

Sign Up Now!

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

    >
    >
    >
     

Share This Page