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

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?
 
D

Danny

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...
 
J

Jeff Boyce

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.
 
J

John W. Vinson

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top