Skip to Content
author's profile photo Former Member
Former Member

How to create report from SDK without clicking through ther Query manager ?

Hello,

I need to create an on-screen report with selection criteria. (Something similar to Reports/Inventory/Items list)

I could create a query and save it but

- how to start the query by SDK then - without clicking through the Query manager ?

- how to pass the selection criteria to the query ?

Please suggest me ?

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2005 at 04:02 AM

    Thanks for your suggestion.

    About your suggestion, you suggest to define sql command via SDK development and execute .doquery .

    I have followed your advice, for the next step-> my problem is "How to create report layout and display the created report from data that I have query in the previous step?"

    Please advice me.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Maria Trinidad MARTINEZ GEA

      As the helpcenter(2005 helpcenter) has missed this bit of documentation (on UserQueries) could someone please provide an example of using this object

      thanks

      Message was edited by: George Savery

      hmm I thought it had timed out .... Woops 😊

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2005 at 11:18 AM

    dim qsql as string

    dim var1 as string

    set var1 = oform.items.youritemvalue

    qsql = "select * from ocrd where ocrd.cardcode ="& var1

    on click

    orecordset.doquery qsql

    show data

    check VB documentation for syntax

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.