PC Review


Reply
Thread Tools Rate Thread

Add data to a table when uncertain of the number of fields

 
 
rdemyan via AccessMonster.com
Guest
Posts: n/a
 
      23rd May 2006
I am downloading data from a website to append to a table. My procedure is:

1) Download the data to an excel spreadsheet.
2) Import the spreadsheet to a holding table.

I'm having now problem getting the data from the spreadsheet to a holding
table. Now the problem I'm having is with transferring the data from the
holding table to the main table. The problem is that some of the fields that
are in the main table may not be present in the holding table. So if I have
an action query that names each field and some are missing, there is a
problem.

The field names in the holding table are the same as the field names in the
main table. Example:

Main Table Fields
Product
Sub_Product
Style
Shape
Cut
Manufacturer
Model

Holding Table Fields (for a particular download, the quantity of fields might
change with each download)
Product
Sub_Product
Style
Manufacturer
Model

How do I transfer the rows in the Holding Table to the Main Table when I can
never be sure exactly which fields will be present in the Holding Table.
Assume that the main table key fields will always be present in the holding
table and that the fields present in the holding table is always a subset of
the main table fields (there will never be any field names in the holding
table that are not in the main table).

Thank you.

--
Message posted via http://www.accessmonster.com
 
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
Converting a table containing Records of irregualar number of fields to a normal Table inetgnu@gmail.com Microsoft Access 5 27th Mar 2007 12:52 AM
Uncertain Outlook Data File Version =?Utf-8?B?Tmljaw==?= Microsoft Outlook Installation 3 24th Oct 2006 07:28 PM
Add data to a table when uncertain of the number of fields rdemyan via AccessMonster.com Microsoft Access 8 23rd May 2006 06:03 AM
number of fields in the row fields in pivot table =?Utf-8?B?VVQ=?= Microsoft Excel Misc 0 13th Apr 2006 01:17 AM
Calculated Form Fields do not fill data into related table fields =?Utf-8?B?cmljaDE4Mzg=?= Microsoft Access Forms 1 12th Feb 2005 08:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:33 PM.