Here is the code of what I am trying to do. I want to pull only the Project Number field from the hold file onto my html form. Any help would be greatly appreciated!
SET SQLENGINE=SQLORA
SQL SET SERVER &MYSERV
SQL SELECT
det.AGREEMENT_NUM,
det.PROJECT_NUMBER,
det.DURATION
FROM AGREE_DETAIL det
WHERE det.AGREEMENT_NUM = '018060621';
TABLE
ON TABLE HOLD AS INVOICE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<TITLE>ADVANCED FUNDS INVOICE REQUEST</TITLE>
<HEAD><CENTER><STRONG>ADVANCED FUNDS INVOICE REQUEST</STRONG></HEAD>
<HR WIDTH=640>
<BODY>
<TABLE WIDTH=85% BORDER=0>
<tr><td>TO: </td>
<td>Dept. 9513</td>
<td>FROM:</td>
<td>Dept. 9112</td></tr>
<tr><td>NAME:</td>
<td>Margie Shuford</td>
<td>PROJ NUM:</td>
<td>!IBI.FIL.INVOICE.PROJECT_NUMBER;</td></tr>
</BODY>
</HTML>
SET SQLENGINE=SQLORA
SQL SET SERVER &MYSERV
SQL SELECT
det.AGREEMENT_NUM,
det.PROJECT_NUMBER,
det.DURATION
FROM AGREE_DETAIL det
WHERE det.AGREEMENT_NUM = '018060621';
TABLE
ON TABLE HOLD AS INVOICE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<TITLE>ADVANCED FUNDS INVOICE REQUEST</TITLE>
<HEAD><CENTER><STRONG>ADVANCED FUNDS INVOICE REQUEST</STRONG></HEAD>
<HR WIDTH=640>
<BODY>
<TABLE WIDTH=85% BORDER=0>
<tr><td>TO: </td>
<td>Dept. 9513</td>
<td>FROM:</td>
<td>Dept. 9112</td></tr>
<tr><td>NAME:</td>
<td>Margie Shuford</td>
<td>PROJ NUM:</td>
<td>!IBI.FIL.INVOICE.PROJECT_NUMBER;</td></tr>
</BODY>
</HTML>