Skip to main content



C# And Queryprompts



  • 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.

  • 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


Please sign in to leave a comment.