Dialogpage -> Print spezific Page/Query

Hello,

my report consists of 2 Pages / Querys.. I want a Dialogpage to choose, wich page (or Both) should be printed. I tried Page1.Visible = True but Report means: No Data exists if i close DialogControl. W/o DialogPage my Report works well and i see both pages.

What could i do or try?

Thanks a lot!

Comments

  • edited 2:47AM
    I solved this Problem.

    Simple as Possible (Basic-Script)

    [CODEBOX] Page1.Visible = CB_ProdPlan.Checked ' CB_ProdPlan is my CHECKBOX
    Page2.Visible = CB_WarLief.Checked 'CB_WarLief is my CHECKBOX

    DP_Ausdruck.ModalResult = 1 'DP_Ausdruck is my DIALOGPAGE[/CODEBOX]

Leave a Comment