Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8252657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:37:01+00:00 2026-06-08T00:37:01+00:00

Is it possible to have an ADO Dataset that ‘knows’ if or when the

  • 0

Is it possible to have an ADO Dataset that ‘knows’ if or when the underlying table has been updated?

At the moment I have to check an item status each time I receive a file for that item in a folder. This results in a lot of sql queries as we get up to 1300 events at a time.

I’m thinking to add a ADO Dataset to the application which holds the status and use Locate to check the status.

Instead of having a regular refresh with say a timer, I’d like the dataset to be updated as soon as the underlying table records are changed.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:37:02+00:00Added an answer on June 8, 2026 at 12:37 am

    ADO Dataset retrieve data to client based on Client / Server concept. Like a web browser.

    That means: Client Request -> Server, Server Answer -> Client. So Client really can’t know if any data has been changed.

    Simplest way is to requery data (Close/Open) and fetch data by your needs, not all 1300 at once. This is most used solution.

    Anyway, if amount of data is really BIG and you want to play with optimization You have two ways:

    A. Build a log table and register table data changes using triggers. Periodically ask server for changes (you may do this in a background thread):

    select L.RECORD_ID, L.OPERATION_ID
    from FILE_LOG L
    where L.FDATESTAMP between :LAST_WATCH and :CURRENT_STAMP and L.FOLDER_ID = :FOLDER_ID
    

    You will get RECORD_ID and OPERATION_ID (ie insert/update/delete).

    B. If you are not linked to DBMS, Firebird/Interbase have events concept. Using triggers you can inform client that data has been changed, and you can requery just modified data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to have a free iPhone app that has say an initial
First, is it possible to have n transactions levels over ADO.Net. Second, is this
I have a lot of rows to delete in a table, and using ADO.NET
Is it possible to have an ODBC connection and an ADO connection share the
I have a C# .NET 3.5 data access layer that is a plain ADO.NET
Not sure if this is possible... however I have a table called LineItems with
I am using ADO.Net Data Services and have a Service Operation that ends up
I need to have an entity that has two separate candidate keys where one
I have a large ADO.Net dataset and two database schemas (Oracle) with different constraints.
I have a class 'Database' that works as a wrapper for ADO.net. For instance,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.