That does point me in the right direction - thanks. As you have guessed,
I'm a novice Access user so even though I know what I want to do and
even have some idea how to accomplish it I don't always know the syntax.
I've been meaning to figure out recordsets for some time now and this
seems like a good enough place to start.
Cheers,
Eric
pietlinden@hotmail.com wrote:
[color=blue]
>
> How do I put this delicately? how good are your coding skills?
> Creating a loop that does this is a walk in the park. doing all this
> in Outlook is even easier - no code required. The spreadsheet look.
> You could grab the code from Developer's Handbook, but unless you know
> a fair amount about Access, it'll go right over your head. (It did
> when I tried that...)
>
> for intcounter = 0 to 6
> 'Calc date
> dtTemp=Dateadd("d",somedate,intcounter)
> rs.Addnew
> rs.fields("DateDue")=dtTemp
> rs.fields("PatientID")=Me.patientID
> rs.update
> next intCounter
>
> Hope that points you in the right direction....
>[/color]