Results 1 to 2 of 2

Thread: X.dbFormTemplate

  1. #1
    bob Guest

    X.dbFormTemplate

    I recently installed the latest eval. of ASPdb and everything
    works, with the exception of dbFormTemplet
    I created at 2 field Access Database for simple testing purposes.

    The following is my code:

    ASP Page:

    <Center>
    <%
    Set X=Server.CreateObject(&#34;Asp.DB&#34
    X.dbmdb=Server.MapPath(&#34;names.mdb&#34
    X.dbUnit= 1
    X.dbMode=&#34;dual-horiz&#34;
    X.dbSQL = &#34;Select * from names&#34;
    X.dbImageDir=&#34;..images&#34;
    X.DbGridInc=&#34;10&#34;
    X.dbGridDisplayFlds=&#34;1,2&#34;
    X.dbFormDisplayFlds=&#34;1,2&#34;
    X.dbNavigation=&#34;top&#34;
    X.dbNavigationItem=&#34;update,add,delete&#34;
    X.dbNavigationIcon=&#34;std&#34;
    X.dbFormTemplate=&#34;displayform.htm&#34;
    X.ASPdb
    %>
    </center>


    Display Form:

    <TABLE border=2>
    <TR>
    <TD align=right bgcolor=&#34;#FFFF00&#34;><b>First Name</b></TD><TD bgcolor=&#34;#FFFF00&#34;>[[fname]]</TD>
    <TD align=right bgcolor=&#34;#00FFFF&#34;><b>Last Name</b></TD><TD bgcolor=&#34;#00FFFF&#34;><font face=&#34;Abadi MT Condensed&#34;>[[lname]] </font></TD>
    </TR>
    </table>


    Is there something I am doing wrong ?
    If I run the code without Referencing the Display Form, everything
    works fine.

    If I use the x.dbformtemplet line of code, all I get is the Grid.





  2. #2
    frank kwong Guest

    X.dbFormTemplate (reply)

    try again.. the template is fuuly releae intot eh eval version several days ago..


    FK


    ------------
    bob at 5/4/01 8:29:23 PM

    I recently installed the latest eval. of ASPdb and everything
    works, with the exception of dbFormTemplet
    I created at 2 field Access Database for simple testing purposes.

    The following is my code:

    ASP Page:

    <Center>
    <%
    Set X=Server.CreateObject(&#34;Asp.DB&#34
    X.dbmdb=Server.MapPath(&#34;names.mdb&#34
    X.dbUnit= 1
    X.dbMode=&#34;dual-horiz&#34;
    X.dbSQL = &#34;Select * from names&#34;
    X.dbImageDir=&#34;..images&#34;
    X.DbGridInc=&#34;10&#34;
    X.dbGridDisplayFlds=&#34;1,2&#34;
    X.dbFormDisplayFlds=&#34;1,2&#34;
    X.dbNavigation=&#34;top&#34;
    X.dbNavigationItem=&#34;update,add,delete&#34;
    X.dbNavigationIcon=&#34;std&#34;
    X.dbFormTemplate=&#34;displayform.htm&#34;
    X.ASPdb
    %>
    </center>


    Display Form:

    <TABLE border=2>
    <TR>
    <TD align=right bgcolor=&#34;#FFFF00&#34;><b>First Name</b></TD><TD bgcolor=&#34;#FFFF00&#34;>[[fname]]</TD>
    <TD align=right bgcolor=&#34;#00FFFF&#34;><b>Last Name</b></TD><TD bgcolor=&#34;#00FFFF&#34;><font face=&#34;Abadi MT Condensed&#34;>[[lname]] </font></TD>
    </TR>
    </table>


    Is there something I am doing wrong ?
    If I run the code without Referencing the Display Form, everything
    works fine.

    If I use the x.dbformtemplet line of code, all I get is the Grid.





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •