I was actually asking for specifics.
What is it about the patient (or about the appointments) that you feel you
need to redundantly store in each appointment record?
Regards
Jeff Boyce
Microsoft Office/Access MVP
The user has a requirement to view and report on the appointment history.
Appointments are made for different dates and times, ordered by different
doctors, and have different outcomes/results. In most cases the ordering
physician ,family physician, height and weight remain unchanged but it is
recorded during each appointment. For example, they look at weight averages
and perform counts on the physicians (which will be different from time to
time) during various time periods. Beacuse they will most often be the same,
the user would like for the previous visit info for those fields to populate
into the new record when added. I hope this explanation is clear enough for
you.

Signature
If you can read this, thank a Teacher...
If your reading it in english, thank a Veteran!
> I was actually asking for specifics.
>
[quoted text clipped - 51 lines]
> >> >
> >> > Can anyone help please?
Dennis - 28 Jun 2007 20:32 GMT
Personally, I'd simply push the values into a few Public variables, then use
the values as necessary. Pedantic, but quite effective.
> The user has a requirement to view and report on the appointment history.
> Appointments are made for different dates and times, ordered by different
[quoted text clipped - 62 lines]
> > >> >
> > >> > Can anyone help please?
Jeff Boyce - 29 Jun 2007 19:32 GMT
So if a patient has a family physician, why would you need to record that
same fact for each appointment? Are you keeping a history of family
physician, or do you want to know "current" family physician? If the
latter, don't store it redundantly in the appointment record.
I'm pretty sure my weight is different at each appointment, so I can see
wanting to record that each time, but "remain unchanged?!" ... not likely!
And I understand that I "shrink" as I age, so my height is likely to be
changing, too.
If you still need to "pre-load" some/all values in a new appointment record,
one approach would be to add in code that looks up the most recent
appointment record for that patient and sets the values of the controls to
the values in that most recent appointment record.
Or give a try to what Dennis has suggested...
Regards
Jeff Boyce
Microsoft Office/Access MVP
> The user has a requirement to view and report on the appointment history.
> Appointments are made for different dates and times, ordered by different
[quoted text clipped - 77 lines]
>> >> >
>> >> > Can anyone help please?