Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

919 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

18 Experts available now in Live!

Get 1:1 Help Now