Results 1 to 4 of 4

Thread: Templates

  1. #1
    Chris Guest

    Templates


    Is there a minimum download date for the eval version to get templates to work? I have the following code and cant get the templates to show up at all.
    The grid displays fine but there is nothing but a blank page for the template.
    What in Gods name is wrong with this. Ive been looking through every refernce I can and I cant get this to work.


    Set ExectionGrid = Server.CreateObject("ASP.db&#34
    ExectionGrid.dbUnit = 3245
    ExectionGrid.dbDSN = "Data Source=Odysseus;DATABASE=Lynx;"
    ExectionGrid.dbDBType = "SQL"
    ExectionGrid.dbSQL = "SELECT * FROM appArgonautExectionType"
    ExectionGrid.dbEditParams = "TableName=appArgonautExectionType, BookMarkFlds=0+1"

    ExectionGrid.dbFormTemplate = "ChrisTest.htm"
    ExectionGrid.dbEditUpdateTemplate = "ChrisTest.htm"

    ExectionGrid.dbGridTableTag = "Border=1 Cellspacing=1"

    ExectionGrid.dbGridInc = 50
    ExectionGrid.dbNavigation = "bottom"
    ExectionGrid.dbNavigationItem = "Delete, Edit, Add, Update"
    ExectionGrid.dbGridDisplayFlds = "0,1"
    ExectionGrid.dbFormDisplayFlds = "0,1"
    ExectionGrid.dbMode = "Dual-horiz"
    ExectionGrid.dbFormDisplayFlds = -1
    ExectionGrid.dbDebug = 101

    ExectionGrid.aspdb


    ---ChrisTest.htm

    <!--
    [[ExectionType:UF]]
    [[ExectionDesc:UF]]
    -->

    [[FormTag]]
    <P>
    <input Type=Text VALUE=[[ExectionType]] name=txtType>
    <P>
    <input Type=Text VALUE=[[ExectionDesc]] name=txtDesc>
    <P>
    [[AddSubmitButton]] [[ReturnButton]]

    [[/FormTag]]




  2. #2
    Frank Kwong Guest

    Templates (reply)

    checkout the template example sin the web site www.aspdb.com examples like (G1) and others


    ------------
    Chris at 9/10/01 1:04:23 PM


    Is there a minimum download date for the eval version to get templates to work? I have the following code and cant get the templates to show up at all.
    The grid displays fine but there is nothing but a blank page for the template.
    What in Gods name is wrong with this. Ive been looking through every refernce I can and I cant get this to work.


    Set ExectionGrid = Server.CreateObject(&#34;ASP.db&#34
    ExectionGrid.dbUnit = 3245
    ExectionGrid.dbDSN = &#34;Data Source=Odysseus;DATABASE=Lynx;&#34;
    ExectionGrid.dbDBType = &#34;SQL&#34;
    ExectionGrid.dbSQL = &#34;SELECT * FROM appArgonautExectionType&#34;
    ExectionGrid.dbEditParams = &#34;TableName=appArgonautExectionType, BookMarkFlds=0+1&#34;

    ExectionGrid.dbFormTemplate = &#34;ChrisTest.htm&#34;
    ExectionGrid.dbEditUpdateTemplate = &#34;ChrisTest.htm&#34;

    ExectionGrid.dbGridTableTag = &#34;Border=1 Cellspacing=1&#34;

    ExectionGrid.dbGridInc = 50
    ExectionGrid.dbNavigation = &#34;bottom&#34;
    ExectionGrid.dbNavigationItem = &#34;Delete, Edit, Add, Update&#34;
    ExectionGrid.dbGridDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbFormDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbMode = &#34;Dual-horiz&#34;
    ExectionGrid.dbFormDisplayFlds = -1
    ExectionGrid.dbDebug = 101

    ExectionGrid.aspdb


    ---ChrisTest.htm

    <!--
    [[ExectionType:UF]]
    [[ExectionDesc:UF]]
    -->

    [[FormTag]]
    <P>
    <input Type=Text VALUE=[[ExectionType]] name=txtType>
    <P>
    <input Type=Text VALUE=[[ExectionDesc]] name=txtDesc>
    <P>
    [[AddSubmitButton]] [[ReturnButton]]

    [[/FormTag]]




  3. #3
    Chris Guest

    Templates (reply)

    Ive thoroughly looked at all the examples and all the methods on the /doc page. Ive through this Forum and all I get is a blank page when I hit the update button. Is there something wrong with the code below?



    ------------
    Frank Kwong at 9/10/01 6:18:07 PM

    checkout the template example sin the web site www.aspdb.com examples like (G1) and others


    ------------
    Chris at 9/10/01 1:04:23 PM


    Is there a minimum download date for the eval version to get templates to work? I have the following code and cant get the templates to show up at all.
    The grid displays fine but there is nothing but a blank page for the template.
    What in Gods name is wrong with this. Ive been looking through every refernce I can and I cant get this to work.


    Set ExectionGrid = Server.CreateObject(&#34;ASP.db&#34
    ExectionGrid.dbUnit = 3245
    ExectionGrid.dbDSN = &#34;Data Source=Odysseus;DATABASE=Lynx;&#34;
    ExectionGrid.dbDBType = &#34;SQL&#34;
    ExectionGrid.dbSQL = &#34;SELECT * FROM appArgonautExectionType&#34;
    ExectionGrid.dbEditParams = &#34;TableName=appArgonautExectionType, BookMarkFlds=0+1&#34;

    ExectionGrid.dbFormTemplate = &#34;ChrisTest.htm&#34;
    ExectionGrid.dbEditUpdateTemplate = &#34;ChrisTest.htm&#34;

    ExectionGrid.dbGridTableTag = &#34;Border=1 Cellspacing=1&#34;

    ExectionGrid.dbGridInc = 50
    ExectionGrid.dbNavigation = &#34;bottom&#34;
    ExectionGrid.dbNavigationItem = &#34;Delete, Edit, Add, Update&#34;
    ExectionGrid.dbGridDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbFormDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbMode = &#34;Dual-horiz&#34;
    ExectionGrid.dbFormDisplayFlds = -1
    ExectionGrid.dbDebug = 101

    ExectionGrid.aspdb


    ---ChrisTest.htm

    <!--
    [[ExectionType:UF]]
    [[ExectionDesc:UF]]
    -->

    [[FormTag]]
    <P>
    <input Type=Text VALUE=[[ExectionType]] name=txtType>
    <P>
    <input Type=Text VALUE=[[ExectionDesc]] name=txtDesc>
    <P>
    [[AddSubmitButton]] [[ReturnButton]]

    [[/FormTag]]




  4. #4
    Frank Kwong Guest

    Templates (reply)

    don&#39;t know about your code. Nobody can look at your code and guess what it is. Cut and paste the example code as it is a standard sample DB from MS-SQL or Access. Get it to go and then move into your code.


    ------------
    Chris at 9/11/01 3:58:27 PM

    Ive thoroughly looked at all the examples and all the methods on the /doc page. Ive through this Forum and all I get is a blank page when I hit the update button. Is there something wrong with the code below?



    ------------
    Frank Kwong at 9/10/01 6:18:07 PM

    checkout the template example sin the web site www.aspdb.com examples like (G1) and others


    ------------
    Chris at 9/10/01 1:04:23 PM


    Is there a minimum download date for the eval version to get templates to work? I have the following code and cant get the templates to show up at all.
    The grid displays fine but there is nothing but a blank page for the template.
    What in Gods name is wrong with this. Ive been looking through every refernce I can and I cant get this to work.


    Set ExectionGrid = Server.CreateObject(&#34;ASP.db&#34
    ExectionGrid.dbUnit = 3245
    ExectionGrid.dbDSN = &#34;Data Source=Odysseus;DATABASE=Lynx;&#34;
    ExectionGrid.dbDBType = &#34;SQL&#34;
    ExectionGrid.dbSQL = &#34;SELECT * FROM appArgonautExectionType&#34;
    ExectionGrid.dbEditParams = &#34;TableName=appArgonautExectionType, BookMarkFlds=0+1&#34;

    ExectionGrid.dbFormTemplate = &#34;ChrisTest.htm&#34;
    ExectionGrid.dbEditUpdateTemplate = &#34;ChrisTest.htm&#34;

    ExectionGrid.dbGridTableTag = &#34;Border=1 Cellspacing=1&#34;

    ExectionGrid.dbGridInc = 50
    ExectionGrid.dbNavigation = &#34;bottom&#34;
    ExectionGrid.dbNavigationItem = &#34;Delete, Edit, Add, Update&#34;
    ExectionGrid.dbGridDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbFormDisplayFlds = &#34;0,1&#34;
    ExectionGrid.dbMode = &#34;Dual-horiz&#34;
    ExectionGrid.dbFormDisplayFlds = -1
    ExectionGrid.dbDebug = 101

    ExectionGrid.aspdb


    ---ChrisTest.htm

    <!--
    [[ExectionType:UF]]
    [[ExectionDesc:UF]]
    -->

    [[FormTag]]
    <P>
    <input Type=Text VALUE=[[ExectionType]] name=txtType>
    <P>
    <input Type=Text VALUE=[[ExectionDesc]] name=txtDesc>
    <P>
    [[AddSubmitButton]] [[ReturnButton]]

    [[/FormTag]]




Posting Permissions

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