skearton Posted January 9, 2010 Posted January 9, 2010 Hi Folks! How does one right a script that would take data from a portal and compile it into a single list in one field for that one order? I have a currently have a portal in my Order Table that shows what Purchase Orders are related to that job. I need to compile just the PO ID, the supplier name and the date ordered into a list that can print on the job docket. Thanks again for all of the help!
bcooney Posted January 9, 2010 Posted January 9, 2010 Create a calc in the child table, concatentating the fields that you need. So, dsp_line = POID & " " & SupplierName & " " & DateOrdered. Then, in the parent table use List (relationship::dsp_line ).
Fitch Posted January 9, 2010 Posted January 9, 2010 You could use a custom function, or define a calc field in the related PO table: PO ID & " " & supplier name & " " & GetAsText(date) Then in the parent table use the List function to grab the field... except the List function appeared in FileMaker 8.5. With version 8.0 you'll have to loop through the child records and compile the text into a field.
bcooney Posted January 9, 2010 Posted January 9, 2010 Oh my, I really have to stop assuming everyone's using FM10.
comment Posted January 9, 2010 Posted January 9, 2010 In version 8, you can use ValueListitems() - once you have defined a value list including only related values. However, I don't see why it cannot be printed from the child table.
skearton Posted January 9, 2010 Author Posted January 9, 2010 Thanks much all! That worked great. I'm on 10 now, but while we are convincing the powers that be to get everyone else on 10, I have to watch how I do things to be compatible.
Recommended Posts
This topic is 5769 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