dbButtonsOnOff

Turns off various action buttons in filter and edit screens. Default is ON.

Property Syntax

Syntax #1 (Pro)
Obj.dbButtonsOnOff="EditCancelOff | EditActionOff" 

Syntax #2 (Enterprise and above)
Obj.dbButtonsOnOff="EditCancelOff | FilterDropOff | EditDropOff"

Parameters

Parameters

Description

EditCancelOff Turns off Cancel button.
EditActionOff Turns off Action button. (Pro)
FilterDropOff Turns off Filter Drop button if applicable. (EP)
EditDropOff Turns off Edit Drop button if applicable. (EP)

Example

<%
Set X=Server.CreateObject("AspDB.EP")
X.dbQuickProps="1;NWIND;orders;Both;;;;ACCESS;5"
X.dbNavigationItem="Top,bottom,next,prev,filter,edit"
X.dbEditParams="Tablename=orders, bookmarkFlds=0"
'Toggle this line to see results
X.dbButtonsOnOff="EditCancelOff,FilterDropOff,EditDropOff"
X.ASPdbY2K
%>

Notes

For Filter screen, the default drop button is drop.gif and you must specify the correct dbImageDir in order to display the drop button.