0

Print PDF Formula

Hi all,  need print the field fórmula (Seguimiento) with the Button (Print PDF) Oon Field PDF image. The print file is Seguimiento_Doc.

Thanks

4 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    PDF := importFile(this, printAndSaveRecord(this))

    More about the importFile() function here.

      • Rafael Sanchis
      • Rafael_Sanchis
      • 1 yr ago
      • Reported - view

      RoSoft_Steven yes👍PDF := importFile(this, printAndSaveRecord(this, "Seguimiento_Doc"))

      Thanks

      • Rafael Sanchis
      • Rafael_Sanchis
      • 1 yr ago
      • Reported - view

      RoSoft_Steven 

      Hi again 😔

      I have this formula on field (Seguimiento), but on the pdf file don't look good, need on every Rafael Sanchis on next line, is possible?

      let myNote := join(for i in 'Tipo Tarea' order by -'Created on' do
              "<b><u><font-family: Verdana size=""2"">" + i.Empleados.Name + " El " + format(i.'Created on', "DD.MM.YYYY") + " a las " + format(i.'Created on', "HH:mm") + if i.'Status Tarea' = 1 then
                  "<p>"" Nota: </font></u></b><br><font size=""2"">" + replacex(i.'Nota Tarea', "\n|\r\n", "<br>") + "</font>"
              else
                  "<p>"" Cambio de Status: </font></u></b><br><font size=""2"">" + "New status: " + replacex(i.'Nota Tarea', "\n|\r\n", "<br>") + "</font>"
              end
          end, "<hr>");
      html(myNote)
      
      • Kruna
      • 1 yr ago
      • Reported - view

      Rafael as far as I know html is unfortunately not possible within the print engine even though you see it in your formula field.

      I guess you would need to reorder your fields in print layout in order to achieve bold and unerline text etc.

      Saludos

Content aside

  • Status Answered
  • 1 yr agoLast active
  • 4Replies
  • 120Views
  • 3 Following