I have a linktoform() action for setting some discharge information for patients, and it currently looks like this:
LINKTOFORM("discharged_Form","_patientIdentifier",[_THISROW].[_patientIdentifier],"Patient Name",[_THISROW].[Full Name],"DOB",[_THISROW].[DOB],"Hospital",[_THISROW].[Hospital].[Hospital Name],"Admission Date",[_THISROW].[Admission Date])
It does work, but how do i set this so that certain values are fixed (tied to the currently viewed patient) and not changeable?
I'l like the patient name, date of birth, and hospital to be fixed, and the only user changeable element to be the date.
Solved! Go to Solution.
@mykrobinson wrote:
how do i set this so that certain values are fixed (tied to the currently viewed patient) and not changeable?
Use the respective column's Editable_If setting to prevent the user from editing the column, or just use Show_If to hide it.
@mykrobinson wrote:
how do i set this so that certain values are fixed (tied to the currently viewed patient) and not changeable?
Use the respective column's Editable_If setting to prevent the user from editing the column, or just use Show_If to hide it.
so perhaps something like editable_If the context("View") is not the desired form? that's the first thing that comes to mind, anyway
tested with the context view option, and it works great, at least for now. Thank you, @Steve !
User | Count |
---|---|
35 | |
30 | |
30 | |
20 | |
18 |