|
-
Aug 9th, 2007, 11:53 PM
#1
Thread Starter
Addicted Member
Resource usage
Hi I have 50 projects in my ms access 97 database. They all have a different start and finish date and the total number of hours. I would like to produce a resource usage for 12 months starting from current month (same one from ms project). How can split the hours between the start and finish date (equally does matter) for the projects so i can export it to an excel graph. cheers
-
Aug 11th, 2007, 07:09 AM
#2
Thread Starter
Addicted Member
-
Aug 11th, 2007, 08:58 AM
#3
Re: Resource usage
You would just run a query but split them how? By month, project ???
What office app is this going to be written in?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 11th, 2007, 10:38 PM
#4
Thread Starter
Addicted Member
Re: Resource usage
i'm using ms access 97 and excel 2000
-
Aug 11th, 2007, 11:19 PM
#5
Re: Resource usage
 Originally Posted by RobDog888
You would just run a query but split them how? By month, project ???
How do you need it?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 12th, 2007, 05:55 AM
#6
Thread Starter
Addicted Member
Re: Resource usage
i have to export the monthly hours from ms access to excel to produce the graph.
-
Aug 12th, 2007, 01:14 PM
#7
Re: Resource usage
But if you dont say how the query neeeds to be then it stops any help on the thread. Monthly hours totaled? Monthly hours by project? Only that months total? etc.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 12th, 2007, 08:10 PM
#8
Thread Starter
Addicted Member
Re: Resource usage
Sorry, Monthly Hours totaled for the next 12 months starting from current month.
-
Aug 13th, 2007, 03:56 AM
#9
Re: Resource usage
How could monthly totaled for the next 12 months work? If you do a monthly total for current work done then how do you total hours for future work not performed yet?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 13th, 2007, 05:57 AM
#10
Thread Starter
Addicted Member
Re: Resource usage
a resource usage for 12 months starting from current month -
For example start date 01/01/07 , finish date 31/03/07 and the total number of hours is 150 hrs, for a project therefore i should get 50 hrs for Jan 07, 50 hrs for Feb 07, 50 hrs for Mar 07.
-
Aug 13th, 2007, 06:03 AM
#11
Re: Resource usage
Oh so its more of a budgeting thing vs a timecard thing. Thats why I was confused about how to report on future hours worked lol.
So then you basically only need the budget hours returned from the database (50). Then when you are populating your report/graph you will generate a listing of months and set its point at the returned 50.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 13th, 2007, 07:13 PM
#12
Thread Starter
Addicted Member
Re: Resource usage
sorry about that... can you please explain more or point me to an example. cheers
-
Aug 13th, 2007, 08:09 PM
#13
Re: Resource usage
There is no example for this type of custom technique you want. You need to take parts of each step and put it together.
First step would be to create a form in access with a couple of buttons. The write your query so when you click the button it will retrieve the "50" from your table with something like "SELECT Field1 FROM Table1 WHERE Field1 = 50;". Then create an instance of Excel and write those values to a range, add a chart, set its properties and display.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|