Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code in report
Message
From
17/02/2008 09:25:20
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01293004
Message ID:
01293233
Views:
22
Hi Naomi...

I have a similar problem. I have a table with multiple records containing biomatrics signature data in each record. At the printing time I execute the following code:
	oSigSign = CREATEOBJECT("SIGPLUS.SigPlusCtrl.1")

	DELETE FILE Signature*.bmp

	WITH oSigSign
		.OpaqueMode		= .T.
		.BACKCOLOR		= RGB(255,255,255)
		.SigCompressionMode	= 1			&& = 0
		.EncryptionMode 	= 0
		.ImageXSIze 		= 500
		.ImageYSize			= 50
		.ImagePenWidth		= 3
		.JustifyMode		= 5
		.JustifyX			= 10
		.JustifyY			= 10
		.TabletResolution	= 410
		.TabletLogicalXsize	= 2000
		.TabletLogicalYsize	= 600
		.TabletMode			= 6
		.TabletType			= 6
		.TabletXStart		= 400
		.TabletXStop		= 2400
		.TabletYStart		= 3500
		.TabletYStop		= 950
		.ZoomPower			= 1
		.ImageFileFormat 	= 1 && Uncompressed BMP

	*	TRY
			SELECT sign

			.ClearTablet()
			locFileName 	= "Signature.bmp"
			CLEAR RESOURCES (locFileName)   && fox from see the last bmp in memory
			.SigString 	= ALLTRIM(sign.signature)
			.WriteImageFile(locFileName)
			llResult = FILE(locFileName)
	*	CATCH
	*	ENDTRY
	ENDWITH
	RETURN llResult
to create a bitmap such as (signature.bmp) and then I place an ole object on the report to show the signature. It works fine at the command level. Where can I place the code, so it executes for each record during the print of report.

Any help is appreciated.

Thank You in advance

Raza Malik
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform