Solved

Microsoft Access 2007 continuous form - refer to value in previous row

Posted on 2014-02-04
3
397 Views
Last Modified: 2014-02-05
Please see previous post:
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28356635.html

Great solution with a little snag because I did not supply enough information.

It works with one project, however there will be multiple projects so the tasks will need to be grouped by project.

Can the following be altered to somehow say "grouped by project id"?
[Required_Start]+Nz(DSum("[T_Aggressive_duration]","qryTasks","Order<" & [Order]),1)
0
Comment
Question by:mlaurin
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Gozreh earned 500 total points
ID: 39834611
I changed it also there, (maybe after you sow it - you should refresh the screen)

Your Startdate should be =[Required_Start]+Nz(DSum("[T_Aggressive_duration]","Tasks_tbl","Project_ID=" & [Tasks_tbl]![Project_ID] & " AND Order<" & [Order]),1)

and the enddate =[Required_Start]+DSum("[T_Aggressive_duration]","Tasks_tbl","Project_ID=" & [Tasks_tbl]![Project_ID] & " AND Order<=" & [Order])
0
 
LVL 10

Expert Comment

by:Gozreh
ID: 39834618
I also attached there your sample with this code in the qryTasks,  i'm sorry for the in-convinces.
you can delete this question if you want.
0
 

Author Closing Comment

by:mlaurin
ID: 39835436
Thank you, quick and perfect solution!
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
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.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

809 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