AnsweredAssumed Answered

File Maker fields to html in a script

Question asked by redaliance on Jul 3, 2016
Latest reply on Jul 4, 2016 by redaliance

I have the following html inside a script

but I cannot get the fields in my database into the file

 

<html>

    <head>

        <title></title>

        <meta charset=\"UTF-8\">

    </head>

    <body>

        <div align=\"center\" style=\"font-size: 60px\">

            <p>Company</p>

          

        </div>

        <br>

        <table align=\"center\" style=\"font-size: 30px;\">

            <tr>

<td width=\"100\"></td>

                <td width=\"100\" align=\"right\"></td>

           </tr>

           

        </table>

        <hr>

        <table align=\"center\" style=\"font-size: 30px;\">

            <tr>

              <th>Job Number</th>

              <th>Invoice</th>

              <th>VAT</th>

              <th>Total</th>

 

 

 

 

               

            </tr>

        </table>

        <br>

        <br>

        <br>

        <br>

        <div align=\"center\" style=\"margin-left: 0px; font-size: 30px;\">Services</div>

        <div align=\"center\" style=\"margin-center: 0px; font-size: 30px;\">www.website.com</div>

    </body>

</html>

 

Job Number

Invoice

VAT          (Calculated Field)

Total         (Calculated Field)

are the fields in my database

there is only ever 1 record as it will be cleared when the script has been run

this script sends data to a star printer via an app called PassPRNT

 

any help would be gratefully appreciated

Outcomes