This discussion is archived
0 Replies Latest reply: Jan 31, 2013 4:19 AM by 979471 RSS

Proceduer to add BARCODE to forms based on recepients

979471 Newbie
Currently Being Moderated
I am looking for a procedure to add barcode in all forms of a formset using a global dal.

The barcode addition has to be made based on the recepients.

Please find my sample code which adds my barcode image to all forms in my formset below.

#pageno = 1
#Pagecnt = TOTALSHEETS()
While(#pageno <= #Pagecnt)
iName=PageImage(#pageno)
if (iName="")
break;
end
qName = "NYFTZAA"
AddImage(qName,iName,,"*",1)
qName = qName & "\" & #pageno
#pos.top=24600
#pos.left=1300
SetImagePos("#pos",qName,,"*");
SetFld("*" & "0001" & "." & #Pagecnt & "." & #pageno & "*","NYFTZ",qName,,"*");
#pageno += 1
Wend;

Please advise me in implementing the above logic by validating prefered recepients in the output and based on which different barcode images needs to be added to different recepients of the same form.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points