P
(PeteCresswell)
Tomorrow is Show-And-Tell time.... I can probably put it off
until after lunch, but I'd really like to show the user something
in time for them to organize their observations/change requests
in time for me to work through the weekend.
I'm in a subform.
User has just updated a date field.
Subform's .Recordsource is a query, sorted by descending date.
I want to determine what the date prior to the one the user is
editing is so I can sum up a bunch of daily accruals between the
two dates.
The obvious .MoveNext doesn't seem tb doing the job. It's like it
doesn't know that the records are sorted by descending date.
I can't do a .Seek or .FindFirst because I don't know what the
previous date is.... could be yesterday, could be a year ago...
besides, if I could do one of those I'd already know what I want
to know... -)
Maybe something with .BookMark?
e.g.
-----------------------------------------
Set myRS = Me.RecordSetClone
With myRS
?.... .MoveNext isn't getting it....
End With
until after lunch, but I'd really like to show the user something
in time for them to organize their observations/change requests
in time for me to work through the weekend.
I'm in a subform.
User has just updated a date field.
Subform's .Recordsource is a query, sorted by descending date.
I want to determine what the date prior to the one the user is
editing is so I can sum up a bunch of daily accruals between the
two dates.
The obvious .MoveNext doesn't seem tb doing the job. It's like it
doesn't know that the records are sorted by descending date.
I can't do a .Seek or .FindFirst because I don't know what the
previous date is.... could be yesterday, could be a year ago...
besides, if I could do one of those I'd already know what I want
to know... -)
Maybe something with .BookMark?
e.g.
-----------------------------------------
Set myRS = Me.RecordSetClone
With myRS
?.... .MoveNext isn't getting it....
End With