G
Guest
This is oversimplified, but I need to export records from a 3 column table in
this format:
EmpName|WorkHours|WorkDate
DoeJohn|7.0|6/1/2007
DoeJane|8.0|6/1/2007
BrownBob|6.0|6/2/2007
JonesJoe|5.0|6/2/2007
into an excel sheet so that the data appears as:
DateWorked|HoursWorked...|SumofHoursWorked
6/1/2007|7.0|8.0|15.0
6/2/2007|6.0|5.0|11.0
Do I solve this with SQL or VBA? The automation part I can do, once I have
the correct approach.
Thanks in advance.
this format:
EmpName|WorkHours|WorkDate
DoeJohn|7.0|6/1/2007
DoeJane|8.0|6/1/2007
BrownBob|6.0|6/2/2007
JonesJoe|5.0|6/2/2007
into an excel sheet so that the data appears as:
DateWorked|HoursWorked...|SumofHoursWorked
6/1/2007|7.0|8.0|15.0
6/2/2007|6.0|5.0|11.0
Do I solve this with SQL or VBA? The automation part I can do, once I have
the correct approach.
Thanks in advance.