mohinder singh
Programmer
HI
I WANT TO STORE EACH PAGE NO. IN MY ACCOUNTING LEDGER REPORT FOR INDEX PAGE
I WANT TO STORE EACH PAGE NO. IN MY ACCOUNTING LEDGER REPORT FOR INDEX PAGE
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Please don't SHOUT in this forum.HI
I WANT TO STORE EACH PAGE NO. IN MY ACCOUNTING LEDGER REPORT
HOW?
HOW TO STORE PAGE NO. WHILE RUNNING REPORT?
function LedgerPageUpdate
select myLedger
set order to LedgerKey
seek (myTempCursor.LedgerKey)
replace myLedger.ReportPage with _pageno
select myTempCursor
return(.t.)
THANKSDo you mean that for each item on the ledger report you want to write back the page number it appears on into the original data?
if so, you are looking to run something like this for each detail in the report - in the run on entry property on the detail band
Code:function LedgerPageUpdate select myLedger set order to LedgerKey seek (myTempCursor.LedgerKey) replace myLedger.ReportPage with _pageno select myTempCursor return(.t.)
RESPECTED SIR,THANKS
I WILL TRY THIS CODE
Again, please don't SHOUT!!! Using UPPER case only is considered SHOUTING!!!RESPECTED SIR,
YOUR CODE NOT WORK
PLEASE TELL ME HOW TO STORE (WANT TO REPLACE IN OTHER DATABASE) LEDGER REPORT'S PAGE NO. (FOR CREATING INDEX PAGE)
WHICH COMMAND/FUNCTION I GIVE IN LEDGER.FRX
THANX IN ADVANCE
what is your problem??Again, please don't SHOUT!!! Using UPPER case only is considered SHOUTING!!!
thanks again sir, i will try thisI can't be more specific with the code, without knowing your data structure etc.
But you trigger the function on entry to each detail line
View attachment 1863