Hi folks,
I run a report (v8) against Oracle8 db, by a VB6 form, using Crystal OCX, setting inside selection formula
{view.number_field} = 2001
When running in VB6 IDE it translates to
view.number_field = 2001, (with final comma)
giving Oracle error SQL command not properly ended.
When running in VB6 EXE it translates to
view.number_field = 2001.0
and it works.
The field is of Oracle type NUMBER.
I'm in Italy so decimal separator is comma.
Both VB and CR are localized versions.
Can anyone help me to understand this behaviour.
Thanks
Bye
Claudio
I run a report (v8) against Oracle8 db, by a VB6 form, using Crystal OCX, setting inside selection formula
{view.number_field} = 2001
When running in VB6 IDE it translates to
view.number_field = 2001, (with final comma)
giving Oracle error SQL command not properly ended.
When running in VB6 EXE it translates to
view.number_field = 2001.0
and it works.
The field is of Oracle type NUMBER.
I'm in Italy so decimal separator is comma.
Both VB and CR are localized versions.
Can anyone help me to understand this behaviour.
Thanks
Bye
Claudio