Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Chart Timeline

Posted on 2013-05-27
14
Medium Priority
?
133 Views
Last Modified: 2015-04-03
Experts,

How would I be able to make a timeline as in the picture?  

I have a query:
SELECT Projects.ContractBeginDate, Projects.ContractEndDate, Projects.FabricationStart, Projects.FabricationEnd, Projects.ContractAward, Projects.WarrantyAcceptDate
FROM Projects;

and I would like to represent it as below.  Not certan if Access can do this.

thank you

Timeline
0
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39200543
This could be done using Acess with VBA to output the results of the query to excel using automation, but the output of the shapes and their locations would be the tricky part and might require some investigation, as the pixel location of the shapes would depend on the column widths for each month..

if you were prepared to use excel and colourize the cells for the relevant time spans of months, it would be a lot easier to code.... but as per your demo, might look a bit weird when a row was higher in height due to its label being more than one line of text

Would a yellow triangle ever need to occur during a blue timespan block?

Can you provide a small block of sample data from the results of your query, and stipuate which fields represent the start and end of a blue block, and which field denotes a gold star?
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39200549
also, does the blue block always span a whole month, or does it span parts of months?

n the rows on "integrated" and "negotiate" the blue block starts halfway through the month.
0
 

Author Comment

by:pdvsa
ID: 39203067
Hi, thank you for the response.  Typing from phone.  Yes, they can span partial months. The gold star is to indicate only a single date.  I could use excel but would want it to be automated and avoid a lot of manipulation (this is why i wanted in access)

I am not at the computer.  

What do you think now?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 15

Accepted Solution

by:
Simon Ball earned 2000 total points
ID: 39203807
This is basically an adapted Gantt chart.  I think it could only be done in Access if there s some kind of 3rd party Gantt Chart control available which we could feed your data into.

Otherewise we could automate excel from access:

the steps would be
Open excel
create heading line (topics, and month's years required for current data set

for each data 
insert topic.  highlight cells for row span, make blue, 
next

for each gold star
goto row, cell, insert gold star gfx
next

save excel.

Open in new window

0
 

Author Comment

by:pdvsa
ID: 39205402
Hi Sudonim... Thank you .  I am far from e pert. would i use that code under a command button?
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39206909
some code would need to go under a command button.

What i have outlined there is just a list of tasks we would need to achieve.

can you provide some sample data in an access DB and I can draft a basic routine for you.
0
 

Author Comment

by:pdvsa
ID: 39207284
Ok.  I will send some sample data.  Might not be able to for until tomorrow though.  I am out of town.   Thank you
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39207530
ok,  I will be away for the weekend.  Chat to you monday.
0
 

Author Comment

by:pdvsa
ID: 39211875
Sudonim:  please see attached test file....

I see you will be out for the weekend.  Catch up with you next week....enjoy
DatesForTimeline.xls
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39229327
sorry forgot about this, been busy this week.

that file doesn;t give me the full details to form your chart... the id or the 1st column with item names...
0
 

Author Comment

by:pdvsa
ID: 39230048
ok no problem.  I thought dates were what you needed.   Not fully understanding...let me know.  The names of the columns can be the names of the fields.  I am only giving a small sample data as I have more fields but am hoping to be able to apply to the rest of the data set.  thank you.
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39328982
sorry i forgot about this entirely.  do you still want me to work through this with you?
0
 

Author Comment

by:pdvsa
ID: 39329413
Hi, thanks for checking in.  I forgot about it as well.  I dont want to give up because we have spent some time on it.  If you believe you have enough data then i leave it up to you :)  maybe it can be solved in a couple more posts.   If you have more impt things to do then no problem.
0
 

Author Comment

by:pdvsa
ID: 39329415
Hi, thanks for checking in.  I forgot about it as well.  I dont want to give up because we have spent some time on it.  If you believe you have enough data then i leave it up to you :)  maybe it can be solved in a couple more posts.   If you have more impt things to do then no problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question