You must have the correct permissions for the folder
that the MailerPro Database resides in to be able to Compact
& Repair it. The folder must have read/write permissions.
<%If Request.Cookies("compact") = "yes" Then%>
File Size of the MailerPro Database after Compact is <%=getfilesize()%>
<%
Response.Cookies("compact") = ""
Else
%>
File Size of the MailerPro Database before Compact is <%=getfilesize()%>
<%
End If
%>
Delete all Default Table Records and List Tables
This will in effect mean that all entries in all
default tables will be deleted and all list tables will be deleted
meaning you will have to enter setup details and create new lists. Be
WARNED that all subscribers records will be lost. You will be
taken back to setup after deletion.
User [<%=Request.Cookies("user")%>]
Powered by <%=version%>
<%
Function getfilesize()
Dim fso, f, s, strdb
strdb = AccessDatabasePath & "\" & AccessDatabaseName
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(strdb)
If err <> 0 Then
Response.Write""
err.clear
Response.End
End If
s = "" & f.size /1024 & "kb"
set f = nothing
getfilesize = s
End Function
%>