473,508 Members | 2,489 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic Table

1 New Member
@ADezii
Hello - I saw this solution while searching for a solution to my current situation, which is somewhat similar.

Here's the goal: get a daily import of data (daily snapshoot) from a SharePoint list into ms access so that I can run advance reporting

Here's where I am:
  • Created an AutoExec to import the SharePoint data daily with 'Scheduled Tasks'
  • Named the daily import table "All_yyy_mm_dd" for each day

What I want to do next:
  • Append the daily import to a single large table 'MainSharePoint'
  • Add an Imported_on_Date field to each import to distinguish between the data once it's in the 'MainSharePoint' table

Here is a note that I found on Microsoft's SharePoint site on importing data using the SharePoint connection:
  • Access never overwrites a table in the database as part of an import operation, and you cannot append the contents of a list or view to an existing table.

Hints my reason to the VBA route. Any help?

Here is my start:

Expand|Select|Wrap|Line Numbers
  1. '------------------------------------------------------------
  2. ' AutoExec
  3. '
  4. '------------------------------------------------------------
  5. Function AutoExec()
  6. On Error GoTo AutoExec_Err
  7.  
  8.     DoCmd.TransferSharePointList acImportSharePointList, "https://listURL", "{777-777}", "{777-777}", "All_" & Format(Date, "yyyy_mm_dd"), True
  9.  
  10.     '  The DetectIdleTime detects if there is no activity, if no activity, ms access will close.
  11.     DoCmd.OpenForm "DetectIdleTime", acNormal, "", "", acEdit, acHidden
  12.  
  13. AutoExec_Exit:
  14.     Exit Function
  15.  
  16. AutoExec_Err:
  17.     MsgBox Error$
  18.     Resume AutoExec_Exit
  19.  
  20. End Function
Sep 24 '12 #1
1 1957
Rabbit
12,516 Recognized Expert Moderator MVP
This post has been moved into it's own thread. It is against forum policy to bump and hijack old threads.
Sep 24 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5580
by: dschectman | last post by:
I have an interesting issue. I need to implement a dynamic table to mimic a select list. Each time you double click from the master list, a row is added to the list of selected items. The list...
2
1194
by: Bernie V | last post by:
Hello group, Can somebody help me to create a dynamic table control from an sql database ? I don't know exacly where I have to start. Any tip, link to the web is ok. Thx in advance!
1
4818
by: russ | last post by:
Hi all, Here's a problem I'm having with a dynamic table. Following the guidelines here (http://www.codeproject.com/aspnet/dynamiccontrols.asp), which make perfect sense. The problem is that...
2
4937
by: dschectman | last post by:
This appears to be a feature of IE JavaScript. I am running IE 6.0 with the latest patches from Microsoft. Are there any workarounds other than re-coding the source HTML to place all the...
2
599
by: H.c.m. Raaijmaakers | last post by:
Hi, The user can create a dynamic table. In every row are 5 input text boxes. If the second text box gets a onblur event then the value of the third box needs to become the value of the first...
3
52293
by: ryanmhuc | last post by:
Is it possible to have a dynamic table name within a query or a table name that is a variable? This does not work but gives an example: SELECT * FROM concat('table', 'name') - OR - SET @table...
1
1823
by: eureka | last post by:
Hi folks, I am working on a webapplication using Jsp and JS. On my main Jsp(Jsp1) I have a table which is created dynamically inside a <divand contains all the backend-table's records as rows,...
0
2506
by: Dhanasekaran B | last post by:
Dear I need to create dynamic temproray table for reporting purpose.I did't have permission for DDL commands. Without Database Administrator permission, i need to create temp. Dynamic table. (or)...
3
2075
by: arunank | last post by:
Hi, The following code for dynamic table creation is not working. Can anyone please help me. The dynamically created rows and columns are not getting populated. CODE: ========= <html>
3
4282
vikas251074
by: vikas251074 | last post by:
I have created dynamic tables whose length depends upon the number of records. Can I use scrollbar in tables? My code for creating dynamic table is as follows - <% dim conn set conn =...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7133
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.