help greatly appreciated. ..I have seen how t...

help greatly appreciated. โ€ฆI have seen how to create links in data using ref lookups and selection lists etc. I.e select client name and client email can be automatically populated from the address book. But is it possible to go further with this and build an enum list, and have another list built based on similar referencing?

0 5 322
5 REPLIES 5

Too many options to think ofโ€ฆ could you show us some real example, thanks.

I have a table โ€˜jobsโ€™

I have another table โ€˜filesโ€™

In โ€˜Jobsโ€™ I have a column โ€˜file attachment nameโ€™.

Also in โ€˜Jobsโ€™ I have another column โ€˜File Attachmentsโ€™ In Table Files I have โ€˜File Nameโ€™ column and โ€˜File pathโ€™ column. โ€˜File Attachment nameโ€™ i need to be an enum list, to allow the user to build a list of the files they want to attach to an email. This looks at the โ€˜Filesโ€™ table and the โ€˜nameโ€™ column. This way the user can identify the files they are selecting from the name they are giving it. I then need

โ€˜File Attachmentsโ€™ to build the list of the relevant file paths , (from the Files Table and the File Path column) looking at the records chosen in the โ€˜file Attachment Nameโ€™ column but populating with the โ€˜file pathโ€™ Hope that makes sense

I would recommend doing the concatenate in VCs for each file name and path and then create your list by using LIST([F1VC], [F2VC], [F3VC], โ€ฆ)

sorry i am not sure I understand the suggestion. I dont know in advance which files the user will select in order to create the list. i also need to use the result of the file attachments column to send the attachments via email so i need that field to only contain file paths , not a combination of the path and the โ€˜user given nameโ€™. sorry if i have not understood correctly what you are suggesting.

You can check if the user left a file field as blank and only include a file path if it is not blank. So, say you have file columns, F1, F2 etc. where the user chooses the file, then your file attachments list can be created by something like:

LIST(IFS(ISNOTBLANK([F1]),LOOKUP([F1], FilesTable, FileName, FilePath)),โ€ฆ)

Top Labels in this Space