Hi,
you have to do the same steps for the simple payment, but you have to modify you script yo use the correct controls and value for this screen.
Set utils = CreateObject("utils.clsUtils")
Controls("lblChqAmnt").Caption = utils.NumberToString(Int(Helper.MemberValue("SuppPmtHdr.PmtTotAmnt")),False)
You have to add script on your check template, if you want to print your print with only an amount in letters.
Follow theses steps to modify your check template :
1) Open the settings form ("Configuration\Settings")
2) Click on the "General" section in the "Printing" Section
3) Find the settings "Define the print form" of the Check's Section
4) Click on the "..." button
5) Choose your check template you want to modify
6) Click on SHIFT-CTRL and click on the "Edit" button
7) Click on the View script button (the icone of the button is a white sheet with a yellow circle)
8) In the Combo Object, select Detail Section.
9) In the OnFormat event, add this script
Set utils = CreateObject("utils.clsUtils")
rpt.Sections("Detail").Controls("fldChqAmntText").Text = utils.NumberToString(Int(rpt.Sections("Detail").Controls("fldChqAmntNum").Text),False)
10) Save your check's template
Jean-François Lefebvre
Dynacom Technologies Inc.
www.dynacom.ca