Solved

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

Posted on 2014-02-04
3
392 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now