What You're saying if perfectly logical to me and hoew I expected the Code I Wrote to behave.. It Does not.. This is the exact code I wrote.. Im Stumped
A Report Table is open.
nLastheight=0
this.HeaderCnt=1
set safety off
index on allt(str(vpos))+allt(str(hpos)) to c:\temp\bb
set safety on
for x=0 to 3
Go top
Locate for objtype=9 and objcode=x
if found()
totalheight=height+nlastheight
Set filter to between(vpos,nlastheight,totalheight) and inlist(objtype,5,8)
brow && Works Here<----------------------
nlastheight=totalheight
Go top
replace EXPR with "' ">+'"+expr
Go Bott
Replace EXPR with Expr+"'+'"
this.headercnt=this.headercnt+1
Brow && Doesnt Work Here<--------------------
Set filter to
Endif
EndFor
Return
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only