Mountainoak Posted June 5, 2009 Posted June 5, 2009 Hi, I'd like to merge records into one field for reporting. I have a join table where 1 patient is linked to several procedures. These procedures have a code. For reporting i'd like to merge these codes in one field. I've attached a sample file. Can somebody help me on how to do this. I tried a list function but can't get it to work. Thanks vraag.fp7_.zip
comment Posted June 5, 2009 Posted June 5, 2009 Which code do you want? There's one in Procedures (a calculated one), and one in ProcedureCategories (with no data in it).
Mountainoak Posted June 5, 2009 Author Posted June 5, 2009 I`d like the one in the layout called "patientprocedures" to be merged in one field per patient on the report. So the calculated one.
comment Posted June 5, 2009 Posted June 5, 2009 Well, then point the List() function to that field (and that field only) List ( Procedures::categorie code calc ) Make sure that the result of the calculation is Text. BTW, the same thing applies to the 'categorie code calc' field in Procedures.
Mountainoak Posted June 6, 2009 Author Posted June 6, 2009 Thanks this works. Is there a way to display the result in a line meaning: ABC in stead of: A B C
Mountainoak Posted June 6, 2009 Author Posted June 6, 2009 Got it: Substitute ( List ( Procedures::categorie code calc ) ; ¶ ; ", " )
Recommended Posts
This topic is 5708 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now