Description
This command is used for deleting the records from the database. When executed, it opens the recordset (variables WB_BaseName and WB_RcdSet must be defined when you use this command), deletes all records in the selected recordset and displays processed WBSP page or redirects client to URL defined in WB_Redirect variable.
Important: Delete command can and will permanently delete all the records that match the condition. We strongly recommend you to password-protect either your database (using MS Access system.md? file) or the WBSP page containing this command (using WB_HTAccess). To disable deletion of more than one record at the time define the WB_UID variable in WBSP page containing the DELETE command.
Example of use
Using addition with WB_Command in a WhizBase file. [FormFields]
WB_BaseName=biblioA.mdb
WB_RcdSet=Titles
WB_Command=D
WB_UID=ID
WB_Redirect=default.wbsp
WB_BaseName=biblioA.mdb
WB_RcdSet=Titles
WB_Command=D
WB_UID=ID
WB_Redirect=default.wbsp
No comments:
Post a Comment