<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Paste records in OLE Unbound Excel Object in Access Form</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 10:32:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: sbelectric</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/#comment-66512</link>
		<dc:creator>sbelectric</dc:creator>
		<pubDate>Wed, 05 Aug 2009 16:42:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-66512</guid>
		<description><![CDATA[Just another thought ... Have you experimented with Import option under Access 2007?  It is located under Extrenal Data tab.]]></description>
		<content:encoded><![CDATA[<p>Just another thought &#8230; Have you experimented with Import option under Access 2007?  It is located under Extrenal Data tab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darryn</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/#comment-66502</link>
		<dc:creator>darryn</dc:creator>
		<pubDate>Wed, 05 Aug 2009 13:51:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-66502</guid>
		<description><![CDATA[If it is pasting as a string into Access, just write a string parsing routine that breaks up the string based on the delimiter (I&#039;m guessing tab or comma delimmited if excel is recognising it). You can then create a new recordset, pass in the values from the string parsing function, and upload the data to the tables. No need to involve excel.

If you want some further direction on this just shout.

Cheers]]></description>
		<content:encoded><![CDATA[<p>If it is pasting as a string into Access, just write a string parsing routine that breaks up the string based on the delimiter (I&#8217;m guessing tab or comma delimmited if excel is recognising it). You can then create a new recordset, pass in the values from the string parsing function, and upload the data to the tables. No need to involve excel.</p>
<p>If you want some further direction on this just shout.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianaaskew</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/#comment-66449</link>
		<dc:creator>brianaaskew</dc:creator>
		<pubDate>Tue, 04 Aug 2009 16:12:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-66449</guid>
		<description><![CDATA[Ok let me clearify. 
I work for the Army in the records department. We keep files on everyone posted here. There is a website that we pull an accountability report from every month (it changes daily) so that we can do an audit of our records and make sure we have a file on everyone. We have clerks that are assigned to individual units and they are responsible for those units. We have about 50 units total. Each unit has anywhere from 1 to 15 &quot;UIC&#039;s&quot; (smaller units) and each UIC has anywhere from 1 to 2000 soldiers listed. 

For example, we have a unit called 192nd. 192nd has it&#039;s own filling cabinet. 192nd has 10 UIC&#039;s. The filling cabinet has all the soldier&#039;s for 192nd (each assigned to one of the ten UIC&#039;s that fall under 192nd) filed together in alphabetical order. The accountability report from the website lists the soldier&#039;s by UIC not by Unit (so I have to pull 10 reports). The accountability report is a table on a website that has fields like name, rank, ssn. There is no field for unit name or uic (it is a text box in a corner on the website). The information in the accountability report has to be placed in a table put in alphabetical order and then printed in one list so that the clerk can take that list to the filling cabinet and check off each name to make sure the record is there.

So, if I were to copy a table from an accountability report and paste it into Excel and then go to the next UIC and copy and paste that into Excel there would be no way of telling what UIC or Unit the soldier is from. What we were doing in the past is we had one Excel workbook and an Excel sheet for each Unit. I would go the sheet for that unit then go to the webiste and pull each UIC accountability report, paste it in it&#039;s Unit&#039;s sheet and do a sort so they all appeared together in alphabetical order. This did not allow us to really do what we need to do as far as creating reports and stuff like that. I started building an Access database based off the Excel sheet and was basically making a linked table for each sheet in the workbook. This left me with over 50 linked tables and meant I had to work with both Excel and Access. With the reports I want to create and the queries I want to pull this made the database EXTREMELY large and made for very poor design. I realized I needed one table with all the soldier&#039;s names (and other info) together and I needed to add a field with the UIC so that they could be grouped and printed in reports. The problem was putting the UIC in each record without having to go in and enter it in manually (remember some UIC&#039;s have over 2000 soldiers). I created two tables SoldierRecords and TempSoldierRecords. I created a Form called Main with a subform called Mainsubform linked to TempSoldiersRecord. The user opens the form selects the UIC they are pulling the accountability report for from a dropdown box, they then go to the website and open the report for that UIC, copy the record, goes back to the form and hits a button called paste. This button pastes the records to the subform (from TempSoldiersRecords) and runs a command to read the selection made from the UIC dropdown and then makes the value for the UIC field in the subform the same as the selection from the dropdown. Then the user hits another button called save and these records in the tempsoldierrecords subform are appended to the SoldierRecords table and the subform is cleared for the next UIC to be entered. This works fine and is exactly what I want it to do. The problem is that this website has some kind of funny formatting which is causing all the fields from the table on the website to be pasted into one field in Access as one long string. When I paste these records (straight from the website) into Excel they are fine and appear in multiple fields, when I then copy the records from Excel and paste them in Access they are fine and appear in multiple fields. Basically Excel is somehow &quot;cleaning&quot; the formating from the table I copied from the webiste and allowing Access to see it as multiple fields rather then one long string. I can&#039;t have to paste in Excel and copy then paste again in Access for each UIC (there are hundreds) I created another form called &quot;Paste&quot; that has a OLE unbound object Excel worksheet. I want the user to go to the &quot;Main&quot; form and be able to click a button that will &quot;clean&quot; (using the OLE Unbound Excel Worksheet) whatever they copied from the website and then paste in the subform on the Main form. I know it sounds crazy but I&#039;ve been workign on this for two months now and I can&#039;t think of any other feasible way to do it with all the factors considered.]]></description>
		<content:encoded><![CDATA[<p>Ok let me clearify.<br />
I work for the Army in the records department. We keep files on everyone posted here. There is a website that we pull an accountability report from every month (it changes daily) so that we can do an audit of our records and make sure we have a file on everyone. We have clerks that are assigned to individual units and they are responsible for those units. We have about 50 units total. Each unit has anywhere from 1 to 15 &#8220;UIC&#8217;s&#8221; (smaller units) and each UIC has anywhere from 1 to 2000 soldiers listed. </p>
<p>For example, we have a unit called 192nd. 192nd has it&#8217;s own filling cabinet. 192nd has 10 UIC&#8217;s. The filling cabinet has all the soldier&#8217;s for 192nd (each assigned to one of the ten UIC&#8217;s that fall under 192nd) filed together in alphabetical order. The accountability report from the website lists the soldier&#8217;s by UIC not by Unit (so I have to pull 10 reports). The accountability report is a table on a website that has fields like name, rank, ssn. There is no field for unit name or uic (it is a text box in a corner on the website). The information in the accountability report has to be placed in a table put in alphabetical order and then printed in one list so that the clerk can take that list to the filling cabinet and check off each name to make sure the record is there.</p>
<p>So, if I were to copy a table from an accountability report and paste it into Excel and then go to the next UIC and copy and paste that into Excel there would be no way of telling what UIC or Unit the soldier is from. What we were doing in the past is we had one Excel workbook and an Excel sheet for each Unit. I would go the sheet for that unit then go to the webiste and pull each UIC accountability report, paste it in it&#8217;s Unit&#8217;s sheet and do a sort so they all appeared together in alphabetical order. This did not allow us to really do what we need to do as far as creating reports and stuff like that. I started building an Access database based off the Excel sheet and was basically making a linked table for each sheet in the workbook. This left me with over 50 linked tables and meant I had to work with both Excel and Access. With the reports I want to create and the queries I want to pull this made the database EXTREMELY large and made for very poor design. I realized I needed one table with all the soldier&#8217;s names (and other info) together and I needed to add a field with the UIC so that they could be grouped and printed in reports. The problem was putting the UIC in each record without having to go in and enter it in manually (remember some UIC&#8217;s have over 2000 soldiers). I created two tables SoldierRecords and TempSoldierRecords. I created a Form called Main with a subform called Mainsubform linked to TempSoldiersRecord. The user opens the form selects the UIC they are pulling the accountability report for from a dropdown box, they then go to the website and open the report for that UIC, copy the record, goes back to the form and hits a button called paste. This button pastes the records to the subform (from TempSoldiersRecords) and runs a command to read the selection made from the UIC dropdown and then makes the value for the UIC field in the subform the same as the selection from the dropdown. Then the user hits another button called save and these records in the tempsoldierrecords subform are appended to the SoldierRecords table and the subform is cleared for the next UIC to be entered. This works fine and is exactly what I want it to do. The problem is that this website has some kind of funny formatting which is causing all the fields from the table on the website to be pasted into one field in Access as one long string. When I paste these records (straight from the website) into Excel they are fine and appear in multiple fields, when I then copy the records from Excel and paste them in Access they are fine and appear in multiple fields. Basically Excel is somehow &#8220;cleaning&#8221; the formating from the table I copied from the webiste and allowing Access to see it as multiple fields rather then one long string. I can&#8217;t have to paste in Excel and copy then paste again in Access for each UIC (there are hundreds) I created another form called &#8220;Paste&#8221; that has a OLE unbound object Excel worksheet. I want the user to go to the &#8220;Main&#8221; form and be able to click a button that will &#8220;clean&#8221; (using the OLE Unbound Excel Worksheet) whatever they copied from the website and then paste in the subform on the Main form. I know it sounds crazy but I&#8217;ve been workign on this for two months now and I can&#8217;t think of any other feasible way to do it with all the factors considered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianaaskew</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/#comment-66444</link>
		<dc:creator>brianaaskew</dc:creator>
		<pubDate>Tue, 04 Aug 2009 15:12:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-66444</guid>
		<description><![CDATA[No, I am populating a database from records published on a secure website. I want to copy them from the website and paste them into an Access table. Problem is the website has some kind of funny formatiing which is making it so that when I go to the webiste, select the records, click copy then go to Access and try to paste, all the records are pasting in one field on the table. When I copy the records and paste them in Excel they appear in multiple fields (as they should be), then when I copy that from Excel and paste to my Access table the paste correctly. It&#039;s harb to explain but the way the records appear on the website makes it impossible for me to paste them into Excel them import them to Access, it&#039;s just not feasible with the way the data is set up. I basically want to use the OLE Unbound object to &quot;clean&quot; the records I copy from the website so that Access will recognize them as multiple fields and not try to paste them all into one field.]]></description>
		<content:encoded><![CDATA[<p>No, I am populating a database from records published on a secure website. I want to copy them from the website and paste them into an Access table. Problem is the website has some kind of funny formatiing which is making it so that when I go to the webiste, select the records, click copy then go to Access and try to paste, all the records are pasting in one field on the table. When I copy the records and paste them in Excel they appear in multiple fields (as they should be), then when I copy that from Excel and paste to my Access table the paste correctly. It&#8217;s harb to explain but the way the records appear on the website makes it impossible for me to paste them into Excel them import them to Access, it&#8217;s just not feasible with the way the data is set up. I basically want to use the OLE Unbound object to &#8220;clean&#8221; the records I copy from the website so that Access will recognize them as multiple fields and not try to paste them all into one field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: meandyou</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/paste-records-in-ole-unbound-excel-object-in-access-form/#comment-66438</link>
		<dc:creator>meandyou</dc:creator>
		<pubDate>Tue, 04 Aug 2009 14:53:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-66438</guid>
		<description><![CDATA[Do I understand correctly that you are populating a database by using CUT &amp; PASTE from a REPORT?  Can&#039;t you query the existing data to develop your results?  Perhaps I missed something in your post, but I see too many people who take data from an existing source, copy it to another table and then work it from there (much like an old school &#039;work file&#039;).]]></description>
		<content:encoded><![CDATA[<p>Do I understand correctly that you are populating a database by using CUT &amp; PASTE from a REPORT?  Can&#8217;t you query the existing data to develop your results?  Perhaps I missed something in your post, but I see too many people who take data from an existing source, copy it to another table and then work it from there (much like an old school &#8216;work file&#8217;).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.012 seconds using memcached
Object Caching 324/327 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 10:43:54 -->