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!

new layouts

Status
Not open for further replies.

5835

Technical User
Jun 10, 2003
23
US
Hi
i have just created a layout which will allow me to enter data about my patients such as height and weight etc. for a specific date. my problem is when the patient comes a second ,third or fourth time. i need a way for some fields to be copied from last visit such as chest exam and perscriptions but i need the rest to be blank. how do i do this?

thanks
 
-related DBs
-"look up" fields
-"portals"
All the best!

> need more info?
:: don't click HERE ::
 
Like lebisol mentioned the best way to do this is in a portal. However, if you're not familiar with relational portals you could create a global field for each of the fields you want to duplicate on the new record. Then make a button on the layout that performs a script. The script would look like this:

Set Field ["_GL Prescription","Prescription"]
Set Field ["_GL Chest Exam","Chest Exam"]
New Record/Request
Set Field ["Prescription","_GL Prescription"]
Set Field ["Chest Exam","_GL Chest Exam"]

Hope that helps.
 
Thanks, Lebisol and Nina2001
thanks for your help and thanks for putting up with me.
I just started using FMPRO about 3-4 months ago. As you can see I am not a computer person but I am trying to learn and apply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top