-
Not specified
Mydb.dbFilterparams does'nt work!
Here is the code. Can anyone tell me how to change the Applyfilter button to startsearch!
Thanks,
Cathy.
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual InterDev 6.0">
<title>Limited Query Form</title>
</head>
<body bgcolor="lightyellow">
<center> <IMG align=top height=81 src="images/xxxx.gif" width=497>
<p><p><br><font color = "red"><font size="4" face="Arial" color="#b22222"><i> <b><center> <strong style="COLOR: maroon"> Queries by emp id </font> <p>
<p><p><br><font size="4" face="Arial" color="#b22222"><i><strong>Use this page to restrict your query to a single Employee.</strong></i></font><p>
<%
Set MyDb = Server.CreateObject("ASPdb.EP") ' Create the ASP-db object
MyDb.dbQuickProps = "2021;xx;[xx];both;4,auto;std;./images/;;11" ' Set its std properties
Mydb.dbFilterParams = "ApplyFilterButtonText=mybutton"
MyDb.dbNavigationItem "Top,bottom,next,prev,row+,bottom,Filter,color ,download,FormCol"
MyDb.dbFilterDropFlds = " Emp_name,,employee, Emp_name,,,,,Distinct; emp_number,,employee, emp_number,,,,,Distinct"
MyDb.dbStartUp = "filter" >
FFlds = " emp_name, Emp_number"
MyDb.dbFilterFlds = FFlds
Mydb.dbGridHideDupRecFlds = "0"
'Mydb.dbDebug = 4
Mydb.aspDBEP
%>
</font></STRONG></center></B></I></CENTER></I></body></HTML>
-
Not specified (reply)
Hi Cathy,
ASP-db Enterprise uses a more powerful version of customization that allows
almost everything to be redefined. The property you need is dbUserLocalText.
Go to: http://aspdb.com/v2/V2_Cust_Text.asp to see an example of customizing
everything including the filter submit button.
Thanks,
John
------------
at 6/30/00 10:26:29 AM
Mydb.dbFilterparams does'nt work!
Here is the code. Can anyone tell me how to change the Applyfilter button to startsearch!
Thanks,
Cathy.
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual InterDev 6.0">
<title>Limited Query Form</title>
</head>
<body bgcolor="lightyellow">
<center> <IMG align=top height=81 src="images/xxxx.gif" width=497>
<p><p><br><font color = "red"><font size="4" face="Arial" color="#b22222"><i> <b><center> <strong style="COLOR: maroon"> Queries by emp id </font> <p>
<p><p><br><font size="4" face="Arial" color="#b22222"><i><strong>Use this page to restrict your query to a single Employee.</strong></i></font><p>
<%
Set MyDb = Server.CreateObject("ASPdb.EP") ' Create the ASP-db object
MyDb.dbQuickProps = "2021;xx;[xx];both;4,auto;std;./images/;;11" ' Set its std properties
Mydb.dbFilterParams = "ApplyFilterButtonText=mybutton"
MyDb.dbNavigationItem "Top,bottom,next,prev,row+,bottom,Filter,color ,download,FormCol"
MyDb.dbFilterDropFlds = " Emp_name,,employee, Emp_name,,,,,Distinct; emp_number,,employee, emp_number,,,,,Distinct"
MyDb.dbStartUp = "filter" >
FFlds = " emp_name, Emp_number"
MyDb.dbFilterFlds = FFlds
Mydb.dbGridHideDupRecFlds = "0"
'Mydb.dbDebug = 4
Mydb.aspDBEP
%>
</font></STRONG></center></B></I></CENTER></I></body></HTML>