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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|