fly_champ
New Member
- Joined
- Jul 27, 2004
- Messages
- 8
I am a mechanical engineer trying to dump off some of the information collected about direct labor for the accounting people. Since I am the only person here who can program.....
(Anything is subject to modification)
I have two tables, table 1(actually a query of a longer table), stores daily entered information for job cards
"date","name","hours","part","division"
table 2 stores constants, ie people who can only work under 1 division.
It has the same fields, with "date" and "part" remaining blank, and "hours" containing a numeric value
The plan was to add the tables together, and crosstab the results into an Excel Spreadsheet Template.
The problem, I can't get the data to fill in the layout(sparse) of the spreadsheet that the report must be formatted in.
I can export to excel using transferspreadsheet, but the fields are in the wrong order, and there is no formatting in the command.
I have tried using some workbook code, but there is little documentation, and my tries have failed.
The report is like a crosstab query with some sums on it. IE
|division1 | division2 | division3 |
name1 | x hours | | | sum_name1
name2 | | | y hours | sum_name2
name3 | | z hours | | sum_name3
---------------------------------------
| sumdiv1| sumdiv2 | sumdiv3 |
Thanks in advance for your time.
(Anything is subject to modification)
I have two tables, table 1(actually a query of a longer table), stores daily entered information for job cards
"date","name","hours","part","division"
table 2 stores constants, ie people who can only work under 1 division.
It has the same fields, with "date" and "part" remaining blank, and "hours" containing a numeric value
The plan was to add the tables together, and crosstab the results into an Excel Spreadsheet Template.
The problem, I can't get the data to fill in the layout(sparse) of the spreadsheet that the report must be formatted in.
I can export to excel using transferspreadsheet, but the fields are in the wrong order, and there is no formatting in the command.
I have tried using some workbook code, but there is little documentation, and my tries have failed.
The report is like a crosstab query with some sums on it. IE
|division1 | division2 | division3 |
name1 | x hours | | | sum_name1
name2 | | | y hours | sum_name2
name3 | | z hours | | sum_name3
---------------------------------------
| sumdiv1| sumdiv2 | sumdiv3 |
Thanks in advance for your time.