Forums

ASP

This topic is locked

Pass Variable From Web Buttons To ASp PAge

Posted 04 Feb 2004 00:36:29
1
has voted
04 Feb 2004 00:36:29 stuart purvis posted:
Hi all,
So far My main problems I have sorted out but stuck with this one.

I have several buttons on menu page and when a user clicks on a button I want a certain Value IE "7" sent to and asp page that only shows records that have a 7 in in ceratin field.

Fieldname=Yeargroup

I ma using DMX
So how do i setup buttons do i just type in tthe html link with "?yeargroup=7" this okay if have to but how do i code the var in to asp page so it just show thoose records

Stuart

Replies

Replied 04 Feb 2004 13:23:45
04 Feb 2004 13:23:45 Rene Bandsma replied:
I think you have to use a session variabele that reminds the "7" in your example. (log in user)

Or you can use a hidden field in a form that contains "7".

Reply to this topic