DRW & ASP

M

MikeR

Is there a way to capture the value of a field returned by the DRW and
get it into a form field (probably hidden) so that it becomes part of
the request sent to another ASP page when the form is submitted? I don't
use the DRW, so I don't have a clue how it works. This is someone elses
page.
I realize the form page could be re-written so as not to use the DRW,
but I don't want to do that if I don't absolutely have to.
Thanks,
MikeR
 
S

Stefan B Rusynko

After the DBRW code in your form just add the field
(you need to use the real dbfieldname field name)
<input type="hidden" name="dbfieldname" value="<%= FP_FieldVal(fp_rs,"dbfieldname") %>">

That works if your DBRW is only returning 1 value for the field, not multiple records



| Is there a way to capture the value of a field returned by the DRW and
| get it into a form field (probably hidden) so that it becomes part of
| the request sent to another ASP page when the form is submitted? I don't
| use the DRW, so I don't have a clue how it works. This is someone elses
| page.
| I realize the form page could be re-written so as not to use the DRW,
| but I don't want to do that if I don't absolutely have to.
| Thanks,
| MikeR
 
M

MikeR

Thanks Stefan -
I'll get this to the user. Since I didn't generate the DBRW page, I can't run it
or debug it. <rant>IMNSHO, another reason to not use it.</rant>
MikeR
 
K

Kyle Peterson

ahh nevermind.. I see what it is

used it before but didnt know what frontpage called it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top