Lantica Software Support Center
Lantica Software Home Page
Order Sesame Getting Started Support Center Contact Us Company Downloads Q&A ™  
Search

Knowledgebase Home

Print all retrieved records using PrintString commands

"I love Sesame's ability to print all retrieved records and the available Printstring commands to print forms in my format. But, is there any way to combine these two? I have forms in my database that use "Print" command buttons, which include all the Printstring commands needed. Is there coding that can print all retrieved records using these Printstring commands?"

You can call your PrintString code in Mass Update.

or

ou can also loop through all your records in code by doing something like:

Var vCount as Int
Var vLoop as Int
Var vPos as Int

SUBROUTINE PrintIt()
	// All your print code
END SUBROUTINE

	vPos = @ResultSetCurrentPosition()
	vCount = @ResultSetTotal()
	For vLoop = 1 to vCount
		ResultSetCurrentPosition(vLoop)
		PrintIt()
	Next
	ResultSetCurrentPosition(vPos)

Properties ID: 000241   Views: 1533   Updated: 13 years ago
Filed under:
Programming
Working With Your Data / Records

Copyright Lantica Software, 2003-2025 All rights reserved