Using a hidden field in a custom query.

Joined
Jul 5, 2005
Messages
4
Reaction score
0
Hi,

I'm using Frontpage 2003.

I've gone through Microsoft Doc Q321439 and my web page now asks me to login. It appears to display the username as <%=session("uid")%>

I've created a hidden field which has an initial value of <%=session("uid")%>, and if I map this hidden field back to the database, it displays the correct value. In this case "Chris"

On my page I have a field which displays database results. It has a drop down and if i do a simple select, it displays records, I can select one, and it writes the data back to a results table.

I want to add a criteria to this field that says something like WHERE [Manager Code] = ::HiddenFieldName:: but as soon as I apply this criteria, I get no records back. What am I doing wrong?

Thanks, Chris.
 

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

Top