Forums

ASP

This topic is locked

Extracting Dynamc List / Menu Value

Posted 26 Jun 2007 16:15:46
1
has voted
26 Jun 2007 16:15:46 Chris Plant posted:
Hi,

I have a dynamic list / menu field on my web page that displays a list of footballers from a recordset.

Whichever player is selected I then want to populate additional fields on the page (e.g. team he plays for).

I was trying to extract the field value to a variable MM_Var6 = Cstr(Request.Form(("PlayerName2" and then use MM_Var6 in the WHERE statement of an additional recordset but can't help feeling there has to be an easier way of getting the data from the table rather than using an additional recordset.

Maybe not, Maybe I'm just using the wrong syntax?

Can someone please point me in the right direction? Thanks, Chris.

Replies

Replied 24 Jul 2007 13:22:34
24 Jul 2007 13:22:34 Ryan Preece replied:
Hey Chris,

This sounds a bit like something I'm trying to do regarding using a variable in the where statement.

Did you solve this? take a look at my post if you get a moment - maybe we're after the same solution here:

<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> www.dmxzone.com/forum/topic.asp?topic_id=39133

Reply to this topic