We help IT Professionals succeed at work.
Get Started

oracle form default where date error

NiceMan331
NiceMan331 asked
on
862 Views
Last Modified: 2015-09-10
hi
i have view pur_bsh
having inv_date date
when i sql :
select * from pur_bsh where
inv_date = '01-feb-15'

Open in new window

it return correct rows
but in form , i have non_database block "basic_block" & non_database item "d_from"
type date , format mask  "MM/DD/YYYY"
now , in when button pressed trigger i wrote
declare
d_f date;
d_t date;   
begin
		d_f := :BASIC_BLOCK.D_from;
	d_t := :BASIC_BLOCK.D_to;
		SET_BLOCK_PROPERTY('pur_bsh',DEFAULT_WHERE,'inv_date = d_f');

	GO_BLOCK('pur_bsh');

	EXECUTE_QUERY;
	end ;

Open in new window


it return nothing
what may be the cause ?
Comment
Watch Question
PortletPaulEE Topic Advisor
CERTIFIED EXPERT
Most Valuable Expert 2014
Awarded 2013
Commented:
This problem has been solved!
Unlock 5 Answers and 33 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE