- PRASHANT NIRGUN
- PowerBuilder
- Monday, 12 September 2022 10:31 AM UTC
I am trying to create jpg files and send them as whatsapp chat. let say user gives print order of pages 1,3-5,7. In that case I generate a print pages list 1,3,4,5,7 but at same time I have to read mobile_no and party name of particular pages. I displayed the Invoice Report in preview mode.
Now the worried part is I have to parse pages and fetch column values and create a csv has following structure(file_name, party_name, mobile_no, page_no).
//Go To first page
dw_report.ScrollToRow(1)
li_pos = Pos(ls_pages_list, ',')
//loop begin
//check page no is matching
ls_mobile_no = dw_report.Object.mobile_no[?]
dw_report.Object.DataWindow.Print.Page.Range = ls_page
dw_report.print()
//loop end
one possible solution I am thinking is to use filter(). Is there any way I can read or scroll to row for the page ?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.