K
Ken Cobler
Not sure the best way to do this:
I have a form with one subform. The form is based on mortgage loans. The
subform is based on loan extension options (one-to-many, i.e., every time a
loan is extended, a new child record is created with a new maturity date for
that extension record).
I want to include a feature on the subform, whereby someone can enter the
required notice period prior to the start of the extension, i.e., 90 days
prior, and this will yield the 'notice date'. The notice date calculation
requires that the record use the 'maturity date' of the PRIOR record. (The
logic is that the 'new extension' option requires a timely notice some many
days prior to the end of the previous extension.)
What is the best way to obtain the value of the field of the previous record
to use in a calculation with the subsequent record?
I've tried several queries, but they turn up read-only and despite Allen
Browne's list to correct, I don't see how to correct the problem.
Perhaps I need to write the 'extension maturity date' to the parent table as
a variable, and then pull it back into the child record on the subform....
Not sure how to do that, either, but will research more if that is best...
What is the best method to accomplish what I want to do?
Thanks for your help.
I have a form with one subform. The form is based on mortgage loans. The
subform is based on loan extension options (one-to-many, i.e., every time a
loan is extended, a new child record is created with a new maturity date for
that extension record).
I want to include a feature on the subform, whereby someone can enter the
required notice period prior to the start of the extension, i.e., 90 days
prior, and this will yield the 'notice date'. The notice date calculation
requires that the record use the 'maturity date' of the PRIOR record. (The
logic is that the 'new extension' option requires a timely notice some many
days prior to the end of the previous extension.)
What is the best way to obtain the value of the field of the previous record
to use in a calculation with the subsequent record?
I've tried several queries, but they turn up read-only and despite Allen
Browne's list to correct, I don't see how to correct the problem.
Perhaps I need to write the 'extension maturity date' to the parent table as
a variable, and then pull it back into the child record on the subform....
Not sure how to do that, either, but will research more if that is best...
What is the best method to accomplish what I want to do?
Thanks for your help.