Faceți căutări pe acest blog

duminică, 1 februarie 2015

Prevent the message "SET REPORTBEHAVIOR is set to 80. Draft mode preview may not show dynamic behavior."

In report designer, the report can be previewed with a right click.
But, the first time, a warning appear :
"SET REPORTBEHAVIOR is set to 80. Draft mode preview may not show dynamic behavior."


To prevent it follow these steps.

First, some preparations :
1) From the command window, execute this command :
DO (_reportbuilder)
Click on "Create copy" and give it a name. For this example, the copy is i:\reportbuilder.dbf


2)  From the command window, delete from this copy, the row where  hndl_class = 'PreviewFromDesignerHandler'
DELETE FROM (i:\reportbuilder.dbf) WHERE hndl_class = 'PreviewFromDesignerHandler'
(delete the event)

Now all is prepared. Just add this command before MODI REPORT
DO (_REPORTBUILDER) WITH 3, "the_copy_name"

For this example :
DO (_REPORTBUILDER) WITH 3, "i:\reportbuilder.dbf"
MODI REPORT myreport


See
http://www.tek-tips.com/viewthread.cfm?qid=1737532

http://www.atoutfox.com/nntp.asp

Niciun comentariu:

Trimiteți un comentariu