Auto Populated a Table From SQL View When New Record Shows in View

  • Thread starter Thread starter meangene
  • Start date Start date
M

meangene

I have a table that populates specific data from a SQL view when I manually
run an append query - works fine.

What I really need to do is have that table populated automatically the
moment a new record appears in the view - hands-off on my part. How could I
best do this?
 
Do you mean that you have a link to a view in an SQL Server database
somewhere? If so, you could have a procedure that kicks off according to a
schedule. But as far as having the external data source inform the Access
database of a change - don't know if that's possible or not...
 
Does this mean you have two copies of the same data? One copy in SQL
server, another in an Access table?

If so, why? You will have to work out how to "synchronize" two independent
sets of data (otherwise, how will you know which one is "correct"?).

If the data is already available in a view, why not link to that view?

More info, please...

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
I have a table that populates specific data from a SQL view when I manually
run an append query - works fine.

What I really need to do is have that table populated automatically the
moment a new record appears in the view - hands-off on my part. How could I
best do this?

Why?

Can't you just base the subform on the linked View? Or are you intentionally
making a (formally redundant) copy of the data?
 
Back
Top