Attachment tab that shows number of attachments

Ninox Profile

Is there a way to show the number of files attached to a record, without having to click the attachments tab? It would be nice if the attachments tab included a number indicating the number of attachments.

Ninox Profile

You could use a Formula field with, count(files(this)), on your Form view.

Ninox Profile

Sean, thanks to your suggestion, my Invoices title formular now looks like this:

 

let n := count(files(this));
if n then
"INVOICE " + 'Invoice No.' + " (" + n + " attachments)"
else
"INVOICE " + 'Invoice No.'
end

 

Works great. Thank you!

Ninox Profile

Revised:

 

let n := count(files(this));
if n = 1 then
  "INVOICE " + 'Invoice No.' + " (" + n + " attachment)"
else
  if n then
    "INVOICE " + 'Invoice No.' + " (" + n + " attachments)"
  else
    "INVOICE " + 'Invoice No.'
  end
end

Reply