How-To Guide. Crystal Report Demo. Copyright Topaz Systems Inc. All rights reserved.



Similar documents
Software Developer Guide

How-To Guide. SigCard1 (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.

Article. Robust Signature Capture Using SigPlus Software. Copyright Topaz Systems Inc. All rights reserved.

Plug-In How-To Guide

TIBCO Spotfire Automation Services 6.5. User s Manual

Plug-In How-To Guide

Option 1 Using the Undelete PushInstall Wizard.

How-to configure Auditing for IDENTIKEY Authentication Server 3.2 to a remote Oracle Database on a standalone Microsoft machine.

OPENGATE DATABASE MANAGER FOR MICROSOFT ACCESS

UniFinger Engine SDK Manual (sample) Version 3.0.0

Microsoft Dynamics GP. Electronic Signatures

InfoView User s Guide. BusinessObjects Enterprise XI Release 2

Changing the Display Frequency During Scanning Within an ImageControls 3 Application

Developer s Guide. Revised January 17, Boardwalk, Suite 205, San Marcos, CA (760)

Quick Guide. pdoc Forms Designer. Copyright Topaz Systems Inc. All rights reserved.

How to Time Stamp PDF and Microsoft Office 2010/2013 Documents with the Time Stamp Server

Step 2: Open the ODBC Data Source Administrator Panel

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

Plug-In How-To Guide

Plug-In How-To Guide

Converting Winisis Database into Access or Excel Database

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

Contents. Introduction. Chapter 1 Some Hot Tips to Get You Started. Chapter 2 Tips on Working with Strings and Arrays..

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Print Audit 6 Network Installation Guide

DocuSign Signing Resource File Information

User Manual. pdoc Pro Client for Windows. Copyright Topaz Systems Inc. All rights reserved.

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Crystal Reports. Overview. Contents. Connecting the Report Designer Component to a Data Source

1. Create SQL Database in Visual Studio

Promap V4 ActiveX MSI File

How-To Guide. DemoOCX. Copyright Topaz Systems Inc. All rights reserved.

Contents. Netop MyVision Basic

SDK/Demo software Installation manual for windows using Matrox grabber Document number : Issue : Classification : Customer : Date : 14/04/2014

Matisse Installation Guide for MS Windows. 10th Edition

NovaBACKUP Remote Workforce Version 12.5 Cloud Restore

User Guide Win7Zilla

How to Configure Microsoft System Operation Manager to Monitor Active Directory, Group Policy and Exchange Changes Using NetWrix Active Directory

Creating a Java application using Perfect Developer and the Java Develo...

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Viewing and Troubleshooting Perfmon Logs

Loading pictures with ActiveX and VBScript Copyright InduSoft Systems LLC 2006

Installation Assistance Windows/Microsoft Updates Updating from Spectra or Upgrading from Spectra 6.x...

Installation Guide - Client. Rev 1.5.0

FORTIS INSTALLATION GUIDE

What's New in ADP Reporting?

BusinessObjects Enterprise InfoView User's Guide

MY WORLD GIS. Installation Instructions

Microsoft Project Server Integration with SharePoint 2010

Crystal Reports for Visual Studio.NET

Crystal Reports Setup

Using Crystal Reports with Enprise Job

Matisse Installation Guide for MS Windows

Classroom Setup Guide Sage MAS 90 and 200 Core Training Version 10.0

Customer Support Tool. User s Manual XE-A207 XE-A23S. Before reading this file, please read Instruction Manual of XE-A207 and XE-A23S.

Purchase Agent Installation Guide

Microsoft Access is an outstanding environment for both database users and professional. Introduction to Microsoft Access and Programming SESSION

SUMMARY Moderate-High: Requires Visual Basic For Applications (VBA) skills, network file services skills and interoperability skills.

GFI FAXmaker 14 for Exchange/Lotus/SMTP. Fax-Client Manual. By GFI Software Ltd

Close Support Service Desk v Upgrade Guide

Monitoring Replication

Evaluator s Guide. PC-Duo Enterprise HelpDesk v5.0. Copyright 2006 Vector Networks Ltd and MetaQuest Software Inc. All rights reserved.

Start Here. BrightLink Interaction. 1 Connect your computer and turn on the projector

Crystal Report Designer Component

Perceptive Intelligent Capture. Product Migration Guide. with Supervised Learning. Version 5.5 SP3

2017 Australia Awards Scholarships. Electronic Application Form / 00

How to Work with Crystal Reports in SAP Business One

Document Management Getting Started Guide

All data and information contained in the software program and the manual have been checked and tested extensively.

Release Notes FlexPendant SDK

Optimal Internet Explorer v6.0 Settings User Guide

Database Administration Guide

DocuSign for SharePoint

Microsoft Dynamics GP. Business Analyzer

SMART Ink 1.5. Windows operating systems. Scan the following QR code to view the SMART Ink Help on your smart phone or other mobile device.

SQLBase 8.0 and COM+ Transactions

New installation local version

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Access 2000 and Visual Basic 6

Checking System Requirements. How-To Guide

Visual Basic Programming. An Introduction

User Manual CROMLAWATCH. Data Logging Software. Version 1.6. For use with Color Sensors CROMLAVIEW CR100 CROMLAVIEW CR200 CROMLAVIEW CR210

Web servers and WebSphere Portal

Installing and Running the Google App Engine On Windows

Microsoft Business Contact Manager Version 2.0 New to Product. Module 4: Importing and Exporting Data

CAPIX Job Scheduler User Guide

DMSplus for Microsoft SharePoint 2010

DToolsX-DWG. Version: An ActiveX DLL To Retrieve DWG/DXF information. DToolsX-DWG REFERENCE MANUAL

With this document you will be able to download and install all of the components needed for a full installation of PCRASTER for windows.

PRECISION v16.0 MSSQL Database. Installation Guide. Page 1 of 45

Files Used in this Tutorial

Deep Freeze Mapping Microsoft Exchange Server Data

Installation & User Guide

FEDEX DESKTOP CUSTOMER TOOLS USER GUIDE

Transcription:

How-To Guide Crystal Report Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal.

Table of Contents Overview... 3 The Code... 5 2 www.topazsystems.com Back to Top

Overview Welcome to the TopazRecordDemo using Access and Crystal Reports. Before running the TopazRecordDemo VB Project, please make sure that: 1. The following files and folders are present: a. SignMeUpNE.mdb (This is zipped up in the attachment. Please copy to your C: directory). b. SignatureFolder (You must create a folder named SignatureFolder and place it in your C: directory). c. Scrrun.dll (You must have the scrrun.dll loaded and registered on your machine. A copy is included in this zip in case you don't have it). 2. The following references are checked in the VB project: a. Microsoft ActiveX Data Objects 2.0 library b. Microsoft Databinding Collection c. Crystal Reports 8.5 ActiveX Designer design & runtime library d. Crystal Reports 8.5 ActiveX Designer Runtime library 3. The following components are checked in the VB Project: a. Microsoft ADO Data Control 2.0 b. Crystal Reports Viewer Control c. SigPlus ActiveX module After checking for the above components, run the Topaz Record Demo. You will see the window below. The records you see are from the access.mdb file you downloaded in the Topaz Record Demo kit (SignMeUpNE.mdb). To add an entry, push Add, and make sure you fill in all of the required fields. When you have completely filled out the form, add your signature and push Update to add your file to the database. When you are ready to create a Crystal Report, choose a signed record and push Create Crystal Report. 3 www.topazsystems.com Back to Top

Below is the Crystal Report created using the information on page 3. Crystal Report Demo How-To Guide This application is quite simple. When the Crystal report is created, a BMP image of the signature is created then stored in the C:\SignatureFolder directory. This BMP is named by another field of the database: the PID field (this is an autonumber). This way, the image file name will match the PID field, and the record's signature image file can be matched to the particular record. The signature BMP is then brought into the Crystal Report for viewing the record. When the Crystal Report is closed, the BMP in the SignatureFolder is destroyed to clean up. The signature image is meant only for viewing in the Crystal Report, while the actual biometric signature remains saved in your Access database. On the following pages, we will explore the code that controls the process. 4 www.topazsystems.com Back to Top

The Code 1. The code below is run when you push the Create Crystal Report button and is used to write the selected image to a Crystal Report. First it turns the tablet off and does not clear the image. It then sets the appropriate dimensions using SigPlus and also allows for a time and date stamp to be affixed to the signature. Next it creates a filename for the Bitmap, writes the desired signature to that location, hides the Record menu, and brings up the Crystal Report. Private Sub cmdcrystalreport_click() Dim TextSize As String Dim strpath As String SigPlus1.TabletState = 0 'Make sure the tablet is off cmdclear.enabled = False With SigPlus1.ImageFileFormat = 1 'Sets the image type to be saved-jpg,bmp,tif etc. (1 is a BMP).ImageXSize = 1500 'Sets the X resolution (in pixels).imageysize = 500 'Sets the Y resolution (in pixels).imagepenwidth = 14 'Sets the width of ink for image.imagetimestamp = False 'Set this to TRUE if you want automatic time/date stamping If.ImageTimeStamp = True Then 'If you want the time/date stamp, then do this routine TextSize = Int(.TabletLogicalYSize * 14) / 100 * 0.9 'Gets a good size for the text, if displaying time/date stamp.imagetimestampsize = TextSize 'Sets the size of the Text.AutoTimeStamp 'Performs time/date stamping End If End With SigPlus1.JustifyMode = 5 'This will zoom the signature to fit the control...otherwise, you may leave it to be the size it was when signed strpath = "C:\SignatureFolder\Signature" & datprimaryrs.recordset.fields(10).value & ".bmp" 'Builds the the full path, as well as file extension, naming the file by the PID field (primary key) of the db SigPlus1.WriteImageFile (strpath) 'Writes the image; be sure to pass it the full path, as well as file extension strpath = "" TopazRecords.Hide CrystalReportForm.Show End Sub 2. The code below loads the Crystal Report application and changes the cursor temporarily to an hourglass while it is loading. Dim Report As New CrystalReport1 Private Sub Form_Load() Screen.MousePointer = vbhourglass CRViewer1.ReportSource = Report CRViewer1.ViewReport Screen.MousePointer = vbdefault End Sub 5 www.topazsystems.com Back to Top

3. The code above displays the desired entry in the Crystal Report. This is done by checking every PID number against the BMP filename saved in the SignatureFolder (see number 1). If the record matches the filename designated in step 1 above, the bitmap is displayed in the Crystal Report. Private Sub Section10_Format(ByVal pformattinginfo As Object) If Field1.Value = TopazRecords.datPrimaryRS.Recordset.Fields(10).Value Then Dim bmphold As StdPicture Dim strpicturepath As String strpicturepath = "C:\SignatureFolder\Signature" & TopazRecords.datPrimaryRS.Recordset.Fields(10).Value & ".bmp" Set bmphold = LoadPicture(strPicturePath) Set Picture1.FormattedPicture = bmphold 'Load the signature image into the image on the Crystal Report Set bmphold = Nothing Else Section10.Suppress = True ' Otherwise, suppress the record and don't print it on the report End If End Sub This demo is only designed to give VB developers an example of how Topaz signature capture technology can be used to capture signatures in Access and return them in a Crystal Report. It is not intended as an application, but rather as help to those desiring to create their own application for Access and Crystal Reports using VB. 6 www.topazsystems.com Back to Top