vincent
2nd July 2003, 09:11
Can a message or a prompt box be displayed in Print Session.

that will say "Do you want to continue ?"
If YES is selected than process will contunue
If NO than the process should end.

I need the above option more for debugging report session scripts.

Any help is most welcome

Thanks

NPRao
2nd July 2003, 09:39
You have to use Questions -

Refer to -

ask.enum() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_enumerates_ask_enum)

bdittmar
2nd July 2003, 12:12
Originally posted by vincent
Can a message or a prompt box be displayed in Print Session.

that will say "Do you want to continue ?"
If YES is selected than process will contunue
If NO than the process should end.

I need the above option more for debugging report session scripts.

Any help is most welcome

Thanks

Trace a variable in debugmode, or set debugpoints in reportscript.

long debug

debug = 1
-- code --
debug = 2
-- code --
debug = 3

etc.

NPRao
2nd July 2003, 20:20
You can also use -

#pragma debug Show the source while debugging.

Refer to the link -

Pragma codes (preprocessor) (http://www.baanboard.com/programmers_manual_baanerp_help_3gl_features_pragma_codes_preprocessor)