passing date to data report

Hello Experts !!
Please, i have problm.
i am trying to get a parameterised data report by passing date from form.
but it is not working. i am using dataevnironment.
In data environment what datatype of argument i have to select ?
secondly in dataenvironment when i right click command1 to see its properties, in parameters tab and then in parameter properties there are two lists for datatypes, one labeled Data type and second labeled Host Data Type. What is difference between both ?  
Please help.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Hi soodsandeep,

This is explained in


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
soodsandeepAuthor Commented:
hello emoreau !!
yes it was right
but still one problem persists.
if i write :
select * from emp where hiredate=?
then i works but if i use :
select * from emp where hiredate<?
then it does not work properly.
can you help. please.

Éric MoreauSenior .Net ConsultantCommented:
>>then it does not work properly.

why? any error message?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Éric MoreauSenior .Net ConsultantCommented:
is your date format ok?
soodsandeepAuthor Commented:
emoreau !
i think there is not error in date format. had it been some error, how could i get the correct output in first query : select * from emp where hiredate=?

i think the problem is due to how oracle compares dates ?
please look into.
Éric MoreauSenior .Net ConsultantCommented:
what would be the syntax in Oracle?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.