Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy fields from last record

Status
Not open for further replies.

5835

Technical User
Jun 10, 2003
23
US
Hi
I have two databases- "Patient" (with Patient ID)and "Visit" ( With visit ID). Patient and visit files are connected through patient ID. One patient can have multiple visits, On a visit i enter a patients findings and labs etc. When that patient comes for a second visit, i want certain fields to be automatically filled. i tried writing a script with copy and paste but it will pick-up the data from the last record i was working on, which sometimes isnt the same patient. is there a way to write a script so that it will copy certain data from the same patient's last visit.











 
I would have to experiment with this but you can write a script to find or show all the patients records in the related database, then go to the last record, next copy over the data to the new record. I have used global fields as variables or place holders when writing scripts. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top