A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2010, 03:26 PM posted to microsoft.public.access.tablesdbdesign
meangene
external usenet poster
 
Posts: 29
Default Auto Populated a Table From SQL View When New Record Shows in View

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?

  #2  
Old April 15th, 2010, 04:52 PM posted to microsoft.public.access.tablesdbdesign
Danny
external usenet poster
 
Posts: 385
Default Auto Populated a Table From SQL View When New Record Shows in View

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

"meangene" wrote:

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?

  #3  
Old April 15th, 2010, 05:22 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Auto Populated a Table From SQL View When New Record Shows in View

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.

"meangene" wrote in message
...
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?



  #4  
Old April 15th, 2010, 05:40 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Auto Populated a Table From SQL View When New Record Shows in View

On Thu, 15 Apr 2010 07:26:06 -0700, meangene
wrote:

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

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.