Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4816 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm not sure exactly where this SHOULD be posts but this seems as close as can find.

Here is my situation. I created a database with, among many others, I have a table for Clients and a related table for the medications they take (all related nicely). The medications table includes Brand name, generic name, strength, dose etc.

I also created a report following a predesignated format (need to stick with this format) and one box in the form requires a list of the medications only (generic or brand if there is no generic). I don't need any other data from the table for this report. So essentially I need a list formatted as so: drug1, drug2, drug3, drug4, etc. is there a way to do a kind of kind of do/while loop sort of

do

{

med_list = med_list & drug & ", ";

med_id++

}while client_id == specified client;

Or something like that? I could then use the med_list as a merged field in my report.

Thanks,

Bruce

Posted

Hi, Thank you, I totally misinterpreted the list function, that will give me the list. Can I then use the replace() function to replace the "/n" with a ", "? If so how do you represent the new line in Filemaker?

This topic is 4816 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.