Hi all,

getdefaultquery returns the current datasource query. However, I want to get the query that was setup up at design time. Also please let me know how to get the design time where clause.

Regards.

George.

asked 11 Apr '14, 03:26

grajan777's gravatar image

grajan777
1011226
accept rate: 10%


Hi George,

It's not currenlty possible to get the design time query via an API, as an alternative, you can store the design time query of necessary datasources in session variables (by retrieving their queries using getdefaultquery API in application post open event for example).

It's also not currently possible to get the design time where clause. I created tickets in our bug tracker for these issues.

Regards,
Ibrahim

link

answered 12 Apr '14, 07:17

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

edited 12 Apr '14, 07:18

Dear Ibrahim,

I have already implemented this yesterday as I already knew it was not currently possible. Thank you for your answer.

George.

(12 Apr '14, 07:34) grajan777
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: 11 Apr '14, 03:26

Seen: 797 times

Last updated: 12 Apr '14, 07:34


© Copyright Gerger 2017