Get Query-String of a Browse-Widget

Funkfeuer

New Member
Hello,

I'm using a browse-widget.
This browse-widget uses the following static query, once defined:

For each Allg_Rech No-Lock Index-Reposition:

I want to display this string by using a function, method or attribute referencig to this query of the browse-widget.

Is this possible?

cu
Chris
 
Hi Chris,

If you used QUERY-PREPARE to set the where clause, you can use the PREPARE-STRING attribute:

MESSAGE BROWSE brMyBrowse:QUERY:PREPARE-STRING
VIEW-AS ALERT-BOX INFO BUTTONS OK.

However, if you just used "OPEN QUERY" on a static query, this will return ?. I don't know a way of getting at the query-string in this case.
 
PREPARE-STRING can only be used with dynamic queries, indeed.
For static queries, there's no solution that I am aware of.

But maybe that is your answer? Make the query dynamic, use query-prepare and you're home free :)
 
i dont know whats the point of displaying a static query but try the preprocessor {&QUERY-STRING-yourbrowsename}.
 
Back
Top