The following code is from ViewMyRequests.asp. It instantiates a User object, connects to the FmLib database, and copies information about the current library user into the nBorrowerNo variable. Then, if the user has decided to remove a request from the queue, this code does so by invoking the CancelRequest method of the User object.
<% Dim oUser, nBorrowerNo
Set oUser = Server.CreateObject("CML.User")
oUser.DSN = Application("FmLib_ConnectionString")
nBorrowerNo = oUser.UpdateInfoFromTable(strLogon)
'--- Handle request cancelations here
If Request.QueryString("Action") = "Cancel" Then
Dim item
For Each item In Request.Form("Cancel")
oUser.CancelRequest item, nBorrowerNo
Next
End If
%>