Hale, Jim
Jim.Hale at FleetPride.com
Thu Nov 30 10:41:19 CST 2006
I have automated a number of JEs including allocations. Generally I create the queries in Access and export the results directly to an Excel template. Usually I do all the calculations in Access so that Excel is used simply as a platform to upload the JE. I have a sheet in Excel that prepares the JE (makes sure it balances, etc.) and code which generates a csv file from this worksheet, a bat and cmd file and uploads the data to the AS400. If the calculations are too complicated using queries I still send the intermediate data (usually the result of group queries) to Excel and compute the allocations and then upload the result. I can send you the Excel sheet with the code if you are interested. Regards, Jim Hale -----Original Message----- From: Keith Williamson [mailto:Kwilliamson at rtkl.com] Sent: Thursday, November 30, 2006 9:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Still on the Reporting Man...I forgot what a pain in the A@& getting reports out of Access is. I asked earlier how to export a report into csv format....doesn't seem that is likely. I need to ultimately generate a csv format file, to import into our sql-based application. This is for journal entries. I have written a couple of reports to generate journal entries....utilizing the different levels of grouping and summing. A good bit of the report is taking data, at different groupings, and calculating percentages to apply to user-entered data (for allocating overhead to different entities and account numbers.) Since csv is out, I am resigned to bring the data into excel...and then export to csv format. The problem is that, oddly, when I am looking at the data on the report (on screen) and then hit the "Analyze It with Excel" button....the columns come over in different order than the report. Plus, one of the fields is a text field = "00". It keeps coming into Excel as = 0 (general format.) I can't think of a way to store the values, and export values and formulas to Excel...as Rocky suggested. Any help is greatly appreciated. Regards, Keith E. Williamson | Assist. Controller| kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond Street | Baltimore, Maryland 21231-3305 410-537-6098 direct | 410-276-2136 fax | www.rtkl.com <http://www.rtkl.com/> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.