Delete?db=DatabaseName&searchData=xx
- Deletes all matching records from the database.
To delete records from a database, use a web browser to link to a URL containing
the Delete command (alternately, you may embed a
[Delete] tag into a template). Whenever WebCatalog
receives a Delete command, it immediately searches for all matching records and deletes
them from the database.
Example (normally you would link to a URL or form containing the following
information):
- http://yourserver.com/xx.tpl?command=Delete&db=SomeDatabase.db&eqNAMEdata=Grant
Try It!
The database "SomeDatabase.db" is opened, and all records whose name
field is "Grant" are deleted. The page sent back to the browser will be
xx.tpl
Here are some other ways to send the same command:
| HTML Source |
Description |
- <a href="/WebCatalog/WebCatalog.acgi
?command=Delete&template=xx.tpl&db=SomeDatabase.db
&eqNAMEdata=Grant">
|
Hyperlink to WebCatalog CGI |
- <a href="xx.tpl
?command=Delete&db=SomeDatabase.db
&eqNAMEdata=Grant">
|
Hyperlink to WebCatalog plugin |
- <form method="POST" action="/WebCatalog/WebCatalog.acgi">
<input type="hidden" name="command" value="Delete">
<input type="hidden" name="template" value="xx.tpl">
<input name="eqNAMEdata">
<input type="submit">
</form>
|
- Form-based command to CGI
(notice you must specify a template)
|
- <form method="POST" action="xx.tpl">
<input type="hidden" name="command" value="Delete">
<<input name="eqNAMEdata">
<input type="submit">
</form>
|
- Form-based command to plugin
(notice the template is part of the action)
|