Options

CONFIRM in OnPredataItem Of the Report

st0328st0328 Member Posts: 97
Hi

I am using Confirm Command on PREDATAITEM of the Processing Report.

X - Date Type Variable
Y - Date Type Variable
Text002 := Are u sure do u want to Continue? IF %1 is Greater.


My Message is Like this -->

IF X > Y THEN
IF NOT CONFIRM(Text002,FALSE,X) THEN
Exit;


But, After the User Press NO. even though my Report is Running to OnAfterGetRecord Tirgger. I mean it is Not Coming out. Did i went some where wrong.

Or should is Use CurrReport.Break Instead Of EXIT.

Please Suggest me/..

Comments

  • Options
    vijay_gvijay_g Member Posts: 884
    edited 2010-11-11
    use CurrReport.QUIT instead of exit.
  • Options
    BeliasBelias Member Posts: 2,998
    :|
    why don't you just read the manuals and the online help, instead of asking in mibuso?
    currreport.break/quit/skip should be the bread and butter of any nav developer...and they are fully documented EVERYWHERE!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.