Forums

This topic is locked

Passing Variables with MM_Update

Posted 09 Jan 2003 18:14:56
1
has voted
09 Jan 2003 18:14:56 Rafi Mellado posted:
Hello all,
This isn't really a major problem but I've been trying to find a solution for it for some time.
I want to be able to pass a form variable when I use the DMX Update Record behavior.
For example, let's say a user updates one of his records, once it is updated he is redirected to a page where the record he has just updated is displayed. I've found several ways to do this but the simplest way would be by passing a form variable and I can't seem to get it to work. I found a fix for this in Ultradev by using a tutorial by on this site
www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=385
but I can't get it to work on DMX.
Any ideas, or suggestions?
Thank you ahead of time
DarkKave
www.marmenor.com

"If it weren't for the last minute, nothing would get done."

Edited by - DarkKave on 09 Jan 2003 18:16:08

Replies

Replied 09 Jan 2003 18:26:33
09 Jan 2003 18:26:33 asp asp replied:
in the 1st page put it right under the top line of your page like bellow,


<% Session("svwhatever" = Request.Form("FieldName" %>

in the second page you need to call this session put <%= Session("svwhatever" %> after <body> tag. thats is!!

Replied 14 Jan 2003 13:56:03
14 Jan 2003 13:56:03 Rafi Mellado replied:
Thanks, not quite what I was looking for but it's better than the strategies I've been using lately.
Thanks
DarkKave
www.marmenor.com


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
in the 1st page put it right under the top line of your page like bellow,


&lt;% Session("svwhatever" = Request.Form("FieldName" %&gt;

in the second page you need to call this session put &lt;%= Session("svwhatever" %&gt; after &lt;body&gt; tag. thats is!!


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

"If it weren't for the last minute, nothing would get done."
Replied 14 Jan 2003 15:02:18
14 Jan 2003 15:02:18 Julio Taylor replied:
change the form method to GET

------------------------
Julio

PHP | MySQL | UD4

ICQ: 19735247

Reply to this topic