Skip to main content

Search

Search

C# And Queryprompts

Comments

2 comments

  • Avatar
    Shotaro Ito

    The attached document doesn't have a query prompt (which can be defined in database connection setup), so your code works as expected.

    Besides, the document has data entry form enabled.

    When there's any control exists on data entry form AND Print dialog's Options > [Enable Data Entry] is enabled, The Entry form will be shown.

    From code, you can check Format.EnablePrompting property.

    However..  [Enable Data Entry] is default enabled in document even no data entry has been created,

    so you need to manually disable that in the document, to identify data entry is enabled or not.

    (there's no simple method to count how many controls exists in data entry form - or, is there?)

     

    I would simply minimize for all documents.

    0
  • Avatar
    Legacy Poster

    Thanks for your help - I've checked, and none of my formats have the EnablePrompting flag set to be disabled  It seems like I'll just need to minimize the window every time, unless there's a way to tell which formats have Data Entry Forms

    0

Please sign in to leave a comment.