ODBiC Discussion Board

RE: UPDATEFORM: can I format the template file?, Ilona Morison, 07-10-2002

Use your own template (TEMPLATE=... in the command)

by Roger Harris
July 25, 2002 10:47

The default.odb template will be used if you don't specify a template, but you can link the UPDATEFORM to any template with the TEMPLATE keyword. (Just be sure to include any path information that you would use for the same template in a URL, following the ".../odbic.exe/...".) In the template, you can execute the SQL update statement that's passed in by the UPDATEFORM command with two commands:

    <!--DATABASE $database$--> 
    <!--SQL $sql$-->
Then, do any $sql_error$ checking that you need to do, and output any HTML that you like.


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 

Copyright ©1997, Roger Harris. All rights reserved.