I know why now.
The Form line should contains the name of the new page. Thank you.
<form action="test.fwx" method="POST">
Sent by Larry Zhang on 01/18/2006 07:22:15 AM:
Thank you for your reply.
My purpose is to create a log on page. If user enters correct infor. and clicks the Submit button, he should be led to another page right away.
For the Submit button, I have sth. like this:
<input type="submit" value="Submit" href="test.fwx" name="B3">
I also checked your Authentication.fwx sample file and could not see a dbf table being used and have no clue where you created the login form.
Larry
Sent by FoxWeb Support on 01/17/2006 02:19:23 PM:
The link must contain text and/or an image that the user would have to click in order to be directed to test.fwx:
<a href="test.fwx">Click here</a>
FoxWeb Support Team support@foxweb.com email |
Sent by Larry Zhang on 01/17/2006 08:41:26 AM:
It seems to be a simple task. But when I use these code. It does not lead me to the test.fwx page. (test.fwx can be displayed if you run it independently.)
<html>
<body>
<basefont face="verdana, arial, helvetica" size=2>
<h3>Search Criteria:</h3>
<form action="NameSearch2.fwx" method="post">
Name:
<input name="name" maxlength="30" value="<%=Request.Form("name")%>">
<input type="submit" value="Search">
</form>
<hr>
<%
IF Request.FormCount("name") <> 0
SET EXACT OFF
SELECT * FROM Names;
WHERE UPPER(name) = UPPER(Request.Form("name"));
ORDER BY name INTO CURSOR results
IF _TALLY > 0
%><a href="test.fwx"></a><% && Not working
ELSE
%><h3>Your Search Yielded No Results</h3><%
ENDIF
ENDIF
%>
</body>
</html>