<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'passing values' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'passing values' posted on the 'Active Server Pages' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 05:35:31 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 05:35:31 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/284815/passing-values/</link>
      <description>hi, &lt;br /&gt;
i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
thanks in advance for any idea you share&lt;br /&gt;
amra&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/284815/passing-values/</guid>
      <pubDate>Sun, 12 Dec 2004 05:31:57 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/284906/re-passing-values/#284906</link>
      <description>: hi, &lt;br /&gt;
: i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: thanks in advance for any idea you share&lt;br /&gt;
: amra&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
&lt;br /&gt;
What is the proplem you are facing?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/284906/re-passing-values/#284906</guid>
      <pubDate>Sun, 12 Dec 2004 22:25:08 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/284915/re-passing-values/#284915</link>
      <description>: : hi, &lt;br /&gt;
: : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : thanks in advance for any idea you share&lt;br /&gt;
: : amra&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: &lt;br /&gt;
: What is the proplem you are facing?&lt;br /&gt;
:&lt;br /&gt;
hi, &lt;br /&gt;
i am using clarion/asp. i found an example that works with &lt;br /&gt;
Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
this does not seem to work rigt... &lt;br /&gt;
do you have any other idea?&lt;br /&gt;
&lt;br /&gt;
thank you&lt;br /&gt;
amra&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/284915/re-passing-values/#284915</guid>
      <pubDate>Mon, 13 Dec 2004 02:02:55 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/284916/re-passing-values/#284916</link>
      <description>: : : hi, &lt;br /&gt;
: : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : thanks in advance for any idea you share&lt;br /&gt;
: : : amra&lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : &lt;br /&gt;
: : What is the proplem you are facing?&lt;br /&gt;
: :&lt;br /&gt;
: hi, &lt;br /&gt;
: i am using clarion/asp. i found an example that works with &lt;br /&gt;
: Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: this does not seem to work rigt... &lt;br /&gt;
: do you have any other idea?&lt;br /&gt;
: &lt;br /&gt;
: thank you&lt;br /&gt;
: amra&lt;br /&gt;
: &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Show what you have got so far...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/284916/re-passing-values/#284916</guid>
      <pubDate>Mon, 13 Dec 2004 02:11:22 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/284962/re-passing-values/#284962</link>
      <description>: : : : hi, &lt;br /&gt;
: : : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : : thanks in advance for any idea you share&lt;br /&gt;
: : : : amra&lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : : &lt;br /&gt;
: : : What is the proplem you are facing?&lt;br /&gt;
: : :&lt;br /&gt;
: : hi, &lt;br /&gt;
: : i am using clarion/asp. i found an example that works with &lt;br /&gt;
: : Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: : this does not seem to work rigt... &lt;br /&gt;
: : do you have any other idea?&lt;br /&gt;
: : &lt;br /&gt;
: : thank you&lt;br /&gt;
: : amra&lt;br /&gt;
: : &lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: Show what you have got so far...&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
so far... &lt;br /&gt;
open the record set:&lt;br /&gt;
&lt;br /&gt;
oRSMyTable.Open "dbo.MyTable", objCN, adOpenStatic, adLockOptimistic, adCmdUnspecified&lt;br /&gt;
&lt;br /&gt;
 MyTableField=session("ud_artikal")&lt;br /&gt;
&lt;br /&gt;
oRSMyTable.AddNew&lt;br /&gt;
                      &lt;br /&gt;
                IF(Request.Form("txtMyTableMyField") = "" OR IsNUll(Request.Form("txtMyTableMyField")) ) THEN&lt;br /&gt;
              IF myStatus = "" THEN&lt;br /&gt;
               myStatus = "&amp;lt;STRONG&amp;gt;Your insert failed &amp;lt;/STRONG&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;HR&amp;gt;"&lt;br /&gt;
              END IF&lt;br /&gt;
              flgMissing = 1&lt;br /&gt;
                         myStatus = myStatus &amp;amp; " &amp;lt;STRONG&amp;gt;NAZIV:&amp;lt;/STRONG&amp;gt; " &amp;amp; ": Required field &amp;lt;HR&amp;gt;" &amp;amp; vbCRLF        &lt;br /&gt;
            END IF              &lt;br /&gt;
    IF Request.Form("txtMyTableMyField") &amp;lt;&amp;gt; "" THEN&lt;br /&gt;
            oRSMyTable.Fields("NAZIV").Value = TRIM(MID(Request.Form("txtMyTableMyField"),1,oRSMy
Table.Fields("NAZIV").DefinedSize))&lt;br /&gt;
    END IF&lt;br /&gt;
&lt;br /&gt;
i think that session("xxx")=yyy does not assign any value to ud_artikal&lt;br /&gt;
&lt;br /&gt;
mybe you can help?         &lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/284962/re-passing-values/#284962</guid>
      <pubDate>Mon, 13 Dec 2004 07:50:07 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/285135/re-passing-values/#285135</link>
      <description>: : : : : hi, &lt;br /&gt;
: : : : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : : : thanks in advance for any idea you share&lt;br /&gt;
: : : : : amra&lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : What is the proplem you are facing?&lt;br /&gt;
: : : :&lt;br /&gt;
: : : hi, &lt;br /&gt;
: : : i am using clarion/asp. i found an example that works with &lt;br /&gt;
: : : Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: : : this does not seem to work rigt... &lt;br /&gt;
: : : do you have any other idea?&lt;br /&gt;
: : : &lt;br /&gt;
: : : thank you&lt;br /&gt;
: : : amra&lt;br /&gt;
: : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : Show what you have got so far...&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: so far... &lt;br /&gt;
: open the record set:&lt;br /&gt;
: &lt;br /&gt;
: oRSMyTable.Open "dbo.MyTable", objCN, adOpenStatic, adLockOptimistic, adCmdUnspecified&lt;br /&gt;
: &lt;br /&gt;
&lt;span style="color: Red;"&gt;&lt;br /&gt;
 MyTableField=session("ud_artikal")&lt;br /&gt;
 response.Write "Debug:MyTableField"&amp;amp;MyTableField&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: oRSMyTable.AddNew&lt;br /&gt;
:                       &lt;br /&gt;
:                 IF(Request.Form("txtMyTableMyField") = "" OR IsNUll(Request.Form("txtMyTableMyField")) ) THEN&lt;br /&gt;
:               IF myStatus = "" THEN&lt;br /&gt;
:                myStatus = "&amp;lt;STRONG&amp;gt;Your insert failed &amp;lt;/STRONG&amp;gt;&amp;lt;HR&amp;gt;"&lt;br /&gt;
:               END IF&lt;br /&gt;
:               flgMissing = 1&lt;br /&gt;
:                          myStatus = myStatus &amp;amp; " &amp;lt;STRONG&amp;gt;NAZIV:&amp;lt;/STRONG&amp;gt; " &amp;amp; ": Required field &amp;lt;HR&amp;gt;" &amp;amp; vbCRLF        &lt;br /&gt;
:             END IF              &lt;br /&gt;
:     IF Request.Form("txtMyTableMyField") &amp;lt;&amp;gt; "" THEN&lt;br /&gt;
:             oRSMyTable.Fields("NAZIV").Value = TRIM(MID(Request.Form("txtMyTableMyField"),1,oRSMy
Table.Fields("NAZIV").DefinedSize))&lt;br /&gt;
:     END IF&lt;br /&gt;
: &lt;br /&gt;
: i think that session("xxx")=yyy does not assign any value to ud_artikal&lt;br /&gt;
: &lt;br /&gt;
: mybe you can help?         &lt;br /&gt;
: &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you change the lines as I have shown in red,what happens?And where are you assigning values to the Session variable?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/285135/re-passing-values/#285135</guid>
      <pubDate>Tue, 14 Dec 2004 05:32:36 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/285279/re-passing-values/#285279</link>
      <description>: : : : : : hi, &lt;br /&gt;
: : : : : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : : : : thanks in advance for any idea you share&lt;br /&gt;
: : : : : : amra&lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : What is the proplem you are facing?&lt;br /&gt;
: : : : :&lt;br /&gt;
: : : : hi, &lt;br /&gt;
: : : : i am using clarion/asp. i found an example that works with &lt;br /&gt;
: : : : Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: : : : this does not seem to work rigt... &lt;br /&gt;
: : : : do you have any other idea?&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : thank you&lt;br /&gt;
: : : : amra&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : Show what you have got so far...&lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : so far... &lt;br /&gt;
: : open the record set:&lt;br /&gt;
: : &lt;br /&gt;
: : oRSMyTable.Open "dbo.MyTable", objCN, adOpenStatic, adLockOptimistic, adCmdUnspecified&lt;br /&gt;
: : &lt;br /&gt;
: &lt;span style="color: Red;"&gt;&lt;br /&gt;
:  MyTableField=session("ud_artikal")&lt;br /&gt;
:  response.Write "Debug:MyTableField"&amp;amp;MyTableField&lt;br /&gt;
: &lt;/span&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : oRSMyTable.AddNew&lt;br /&gt;
: :                       &lt;br /&gt;
: :                 IF(Request.Form("txtMyTableMyField") = "" OR IsNUll(Request.Form("txtMyTableMyField")) ) THEN&lt;br /&gt;
: :               IF myStatus = "" THEN&lt;br /&gt;
: :                myStatus = "&amp;lt;STRONG&amp;gt;Your insert failed &amp;lt;/STRONG&amp;gt;&amp;lt;HR&amp;gt;"&lt;br /&gt;
: :               END IF&lt;br /&gt;
: :               flgMissing = 1&lt;br /&gt;
: :                          myStatus = myStatus &amp;amp; " &amp;lt;STRONG&amp;gt;NAZIV:&amp;lt;/STRONG&amp;gt; " &amp;amp; ": Required field &amp;lt;HR&amp;gt;" &amp;amp; vbCRLF        &lt;br /&gt;
: :             END IF              &lt;br /&gt;
: :     IF Request.Form("txtMyTableMyField") &amp;lt;&amp;gt; "" THEN&lt;br /&gt;
: :             oRSMyTable.Fields("NAZIV").Value = TRIM(MID(Request.Form("txtMyTableMyField"),1,oRSMy
Table.Fields("NAZIV").DefinedSize))&lt;br /&gt;
: :     END IF&lt;br /&gt;
: : &lt;br /&gt;
: : i think that session("xxx")=yyy does not assign any value to ud_artikal&lt;br /&gt;
: : &lt;br /&gt;
: : mybe you can help?         &lt;br /&gt;
: : &lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: When you change the lines as I have shown in red,what happens?And where are you assigning values to the Session variable?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
i tried what you suggested, but nothing happens! i realy have a problem here... thak you for all support :)&lt;br /&gt;
code i write in ebed points, of this tool-clarion/asp, is vb script. i have point before close and after open the record set. i shoud assign value to session variable in before close point. i use&lt;br /&gt;
session("variable")= TableField&lt;br /&gt;
in the next call of the same procedure ebed point after open shoud do the opposite of the above with&lt;br /&gt;
TableField=session("variable")&lt;br /&gt;
This is what i find in all of my literature, but it does nothing. mybe you use something else in the same situation?&lt;br /&gt;
thank you &lt;br /&gt;
amra&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/285279/re-passing-values/#285279</guid>
      <pubDate>Wed, 15 Dec 2004 02:51:04 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/285296/re-passing-values/#285296</link>
      <description>: : : : : : : hi, &lt;br /&gt;
: : : : : : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : : : : : thanks in advance for any idea you share&lt;br /&gt;
: : : : : : : amra&lt;br /&gt;
: : : : : : : &lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : What is the proplem you are facing?&lt;br /&gt;
: : : : : :&lt;br /&gt;
: : : : : hi, &lt;br /&gt;
: : : : : i am using clarion/asp. i found an example that works with &lt;br /&gt;
: : : : : Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: : : : : this does not seem to work rigt... &lt;br /&gt;
: : : : : do you have any other idea?&lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : thank you&lt;br /&gt;
: : : : : amra&lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : Show what you have got so far...&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : so far... &lt;br /&gt;
: : : open the record set:&lt;br /&gt;
: : : &lt;br /&gt;
: : : oRSMyTable.Open "dbo.MyTable", objCN, adOpenStatic, adLockOptimistic, adCmdUnspecified&lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;span style="color: Red;"&gt;&lt;br /&gt;
: :  MyTableField=session("ud_artikal")&lt;br /&gt;
: :  response.Write "Debug:MyTableField"&amp;amp;MyTableField&lt;br /&gt;
: : &lt;/span&gt;&lt;br /&gt;
: : : &lt;br /&gt;
: : : oRSMyTable.AddNew&lt;br /&gt;
: : :                       &lt;br /&gt;
: : :                 IF(Request.Form("txtMyTableMyField") = "" OR IsNUll(Request.Form("txtMyTableMyField")) ) THEN&lt;br /&gt;
: : :               IF myStatus = "" THEN&lt;br /&gt;
: : :                myStatus = "&amp;lt;STRONG&amp;gt;Your insert failed &amp;lt;/STRONG&amp;gt;&amp;lt;HR&amp;gt;"&lt;br /&gt;
: : :               END IF&lt;br /&gt;
: : :               flgMissing = 1&lt;br /&gt;
: : :                          myStatus = myStatus &amp;amp; " &amp;lt;STRONG&amp;gt;NAZIV:&amp;lt;/STRONG&amp;gt; " &amp;amp; ": Required field &amp;lt;HR&amp;gt;" &amp;amp; vbCRLF        &lt;br /&gt;
: : :             END IF              &lt;br /&gt;
: : :     IF Request.Form("txtMyTableMyField") &amp;lt;&amp;gt; "" THEN&lt;br /&gt;
: : :             oRSMyTable.Fields("NAZIV").Value = TRIM(MID(Request.Form("txtMyTableMyField"),1,oRSMy
Table.Fields("NAZIV").DefinedSize))&lt;br /&gt;
: : :     END IF&lt;br /&gt;
: : : &lt;br /&gt;
: : : i think that session("xxx")=yyy does not assign any value to ud_artikal&lt;br /&gt;
: : : &lt;br /&gt;
: : : mybe you can help?         &lt;br /&gt;
: : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : When you change the lines as I have shown in red,what happens?And where are you assigning values to the Session variable?&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: i tried what you suggested, but nothing happens! i realy have a problem here... thak you for all support :)&lt;br /&gt;
: code i write in ebed points, of this tool-clarion/asp, is vb script. i have point before close and after open the record set. i shoud assign value to session variable in before close point. i use&lt;br /&gt;
: session("variable")= TableField&lt;br /&gt;
: in the next call of the same procedure ebed point after open shoud do the opposite of the above with&lt;br /&gt;
: TableField=session("variable")&lt;br /&gt;
: This is what i find in all of my literature, but it does nothing. mybe you use something else in the same situation?&lt;br /&gt;
: thank you &lt;br /&gt;
: amra&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have you tried assigningSession variables with hard coded values?&lt;br /&gt;
&lt;br /&gt;
Ie.Instead of&lt;br /&gt;
session("variable")= TableField&lt;br /&gt;
&lt;br /&gt;
Try giving&lt;br /&gt;
session("variable")= "TableField"&lt;br /&gt;
Wherever you are assigning the values..Then we will know whether the Session is working or not..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/285296/re-passing-values/#285296</guid>
      <pubDate>Wed, 15 Dec 2004 06:27:37 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/285459/re-passing-values/#285459</link>
      <description>: : : : : : : : hi, &lt;br /&gt;
: : : : : : : : i have problem with passing values from form to form. there are some repeted fields, so the edd user shoud have to fill only half of form. &lt;br /&gt;
: : : : : : : : thanks in advance for any idea you share&lt;br /&gt;
: : : : : : : : amra&lt;br /&gt;
: : : : : : : : &lt;br /&gt;
: : : : : : : &lt;br /&gt;
: : : : : : : &lt;br /&gt;
: : : : : : : if you are using the get method,you could pass the values in the query string,if the method is post,use hidden form fields to pass on the values..&lt;br /&gt;
: : : : : : : &lt;br /&gt;
: : : : : : : What is the proplem you are facing?&lt;br /&gt;
: : : : : : :&lt;br /&gt;
: : : : : : hi, &lt;br /&gt;
: : : : : : i am using clarion/asp. i found an example that works with &lt;br /&gt;
: : : : : : Session("MyVariable")= TableNameFieldName on the form that passes values, and the opposite on other. &lt;br /&gt;
: : : : : : this does not seem to work rigt... &lt;br /&gt;
: : : : : : do you have any other idea?&lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : thank you&lt;br /&gt;
: : : : : : amra&lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : : &lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : Show what you have got so far...&lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : so far... &lt;br /&gt;
: : : : open the record set:&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : oRSMyTable.Open "dbo.MyTable", objCN, adOpenStatic, adLockOptimistic, adCmdUnspecified&lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;span style="color: Red;"&gt;&lt;br /&gt;
: : :  MyTableField=session("ud_artikal")&lt;br /&gt;
: : :  response.Write "Debug:MyTableField"&amp;amp;MyTableField&lt;br /&gt;
: : : &lt;/span&gt;&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : oRSMyTable.AddNew&lt;br /&gt;
: : : :                       &lt;br /&gt;
: : : :                 IF(Request.Form("txtMyTableMyField") = "" OR IsNUll(Request.Form("txtMyTableMyField")) ) THEN&lt;br /&gt;
: : : :               IF myStatus = "" THEN&lt;br /&gt;
: : : :                myStatus = "&amp;lt;STRONG&amp;gt;Your insert failed &amp;lt;/STRONG&amp;gt;&amp;lt;HR&amp;gt;"&lt;br /&gt;
: : : :               END IF&lt;br /&gt;
: : : :               flgMissing = 1&lt;br /&gt;
: : : :                          myStatus = myStatus &amp;amp; " &amp;lt;STRONG&amp;gt;NAZIV:&amp;lt;/STRONG&amp;gt; " &amp;amp; ": Required field &amp;lt;HR&amp;gt;" &amp;amp; vbCRLF        &lt;br /&gt;
: : : :             END IF              &lt;br /&gt;
: : : :     IF Request.Form("txtMyTableMyField") &amp;lt;&amp;gt; "" THEN&lt;br /&gt;
: : : :             oRSMyTable.Fields("NAZIV").Value = TRIM(MID(Request.Form("txtMyTableMyField"),1,oRSMy
Table.Fields("NAZIV").DefinedSize))&lt;br /&gt;
: : : :     END IF&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : i think that session("xxx")=yyy does not assign any value to ud_artikal&lt;br /&gt;
: : : : &lt;br /&gt;
: : : : mybe you can help?         &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : When you change the lines as I have shown in red,what happens?And where are you assigning values to the Session variable?&lt;br /&gt;
: : : &lt;br /&gt;
: : &lt;br /&gt;
: : i tried what you suggested, but nothing happens! i realy have a problem here... thak you for all support :)&lt;br /&gt;
: : code i write in ebed points, of this tool-clarion/asp, is vb script. i have point before close and after open the record set. i shoud assign value to session variable in before close point. i use&lt;br /&gt;
: : session("variable")= TableField&lt;br /&gt;
: : in the next call of the same procedure ebed point after open shoud do the opposite of the above with&lt;br /&gt;
: : TableField=session("variable")&lt;br /&gt;
: : This is what i find in all of my literature, but it does nothing. mybe you use something else in the same situation?&lt;br /&gt;
: : thank you &lt;br /&gt;
: : amra&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: Have you tried assigningSession variables with hard coded values?&lt;br /&gt;
: &lt;br /&gt;
: Ie.Instead of&lt;br /&gt;
: session("variable")= TableField&lt;br /&gt;
: &lt;br /&gt;
: Try giving&lt;br /&gt;
: session("variable")= "TableField"&lt;br /&gt;
: Wherever you are assigning the values..Then we will know whether the Session is working or not..&lt;br /&gt;
: &lt;br /&gt;
hi,&lt;br /&gt;
&lt;br /&gt;
Session is working ok.&lt;br /&gt;
so far, it seems like the problem is how do i access field and take it's value or assign value to a specific field on the form.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/285459/re-passing-values/#285459</guid>
      <pubDate>Thu, 16 Dec 2004 06:32:17 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: passing values</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/284815/285637/re-passing-values/#285637</link>
      <description>than you Flakes for all your suggestions. it works now, you helped me a lot.&lt;br /&gt;
&lt;br /&gt;
i assign value as&lt;br /&gt;
session("var")=oRSTable.Fields("Field").Value&lt;br /&gt;
and on the other side&lt;br /&gt;
TableField=session("var"),&lt;br /&gt;
mybe it could help someone....&lt;br /&gt;
amra&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/284815/285637/re-passing-values/#285637</guid>
      <pubDate>Fri, 17 Dec 2004 09:18:08 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
  </channel>
</rss>