Solved

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

Posted on 2014-02-04
3
398 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
[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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

730 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