<html>
<head>
<script>
function OnPreview()
{
    location.href = "Wfr.Preview.3:sample.wfr /d Data1 0 sample.csv /ch \"" + location.href + "\"";
}
</script>
</head>
<body>
    <button onclick="OnPreview()">帳票を表示します。</button>
</body>
</html>