PC Review


Reply
Thread Tools Rate Thread

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

 
 
meangene
Guest
Posts: n/a
 
      15th Apr 2010
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?

 
Reply With Quote
 
 
 
 
Danny
Guest
Posts: n/a
 
      15th Apr 2010
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?
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      15th Apr 2010
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" <(E-Mail Removed)> wrote in message
news:38C5A15E-26D2-4654-ADFD-(E-Mail Removed)...
>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?
>



 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      15th Apr 2010
On Thu, 15 Apr 2010 07:26:06 -0700, meangene
<(E-Mail Removed)> 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]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page displaying in design view, but layout view shows blank screen TechieMom Microsoft Access Forms 4 6th May 2010 12:30 AM
select a record using datasheet view, then use form view to edit =?Utf-8?B?QVZOMTk3MA==?= Microsoft Access Forms 1 27th Apr 2007 11:32 PM
How do I view color onscreen (it shows up in print view only) =?Utf-8?B?amFuaWNl?= Microsoft Excel Misc 1 15th Aug 2006 07:32 PM
Although setting is Datasheet view only, it shows Form view. Why? =?Utf-8?B?VmVDYXJl?= Microsoft Access Forms 1 12th Sep 2005 10:28 PM
Re: Table view shows 'child' records Armen Stein Microsoft Access Database Table Design 0 25th Jul 2003 01:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:00 AM.