Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing date from oracle to CR

Status
Not open for further replies.

couse1

Technical User
Jul 25, 2003
1
FR
Hi,

I'm trying to pass a date, this is my code :
Salut,

enreg := 'SelectionFormula = {chrono.code_corr} = '||chr(39)||'ENVIRO'||chr(39)||' and {chrono.date_recu} = date(12/12/2001)'||'\n';

I had my crystal page but without datas!

Does anybody know the code?
thanks
Couse1
 
What's the pipe symbols anbd /n about?

A record selectionj is Crystal syntax, not SQL.

Try:

"{chrono.code_corr} = 'ENVIRO' and {chrono.date_recu} = cdate(2001,12,12)"

Something like that...

-k


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top