dbTalk Databases Forums  

Forms Default Query Where Clause

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Forms Default Query Where Clause in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
papalphaus@yahoo.com
 
Posts: n/a

Default Forms Default Query Where Clause - 10-18-2007 , 02:26 PM






Is there a way in Oracle forms for the default query (in Enter Query
mode) to produce a where clause with field A OR field B, instead of
the default of field A AND field B when filling in values for fields A
and B?


Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: Forms Default Query Where Clause - 10-18-2007 , 08:05 PM






papalphaus (AT) yahoo (DOT) com wrote:
Quote:
Is there a way in Oracle forms for the default query (in Enter Query
mode) to produce a where clause with field A OR field B, instead of
the default of field A AND field B when filling in values for fields A
and B?
Create your block based on a procedure rather than a table.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
F van Nimwegen
 
Posts: n/a

Default Re: Forms Default Query Where Clause - 10-19-2007 , 05:48 AM



On Oct 18, 9:26 pm, papalph... (AT) yahoo (DOT) com wrote:
Quote:
Is there a way in Oracle forms for the default query (in Enter Query
mode) to produce a where clause with field A OR field B, instead of
the default of field A AND field B when filling in values for fields A
and B?
Enter in field A the value :a and in fiel B the value :b
execute the query and you will get a popup window.
here you can add your extention to the default where.

In stead of :a you can also use & and # to add some code to the
default where.

A lot of applications don't allow the use of :,& and # as first
character for safety, the text

"1=1 ) or (1=1" in the popup window gives you a query where de default
where would be ignored



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.