Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code in report
Message
De
17/02/2008 09:25:20
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01293004
Message ID:
01293233
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform