Hi Marco,
When I use the TOraDataSet with the method SetVariable and DeclareVariable, I have the followinfg message: ORA-1036: illegal variable/name number
My SQL state. in TOracledataset:
select * from table1
and at run time:
table1.Deletevariables;
table1.declarevariable('dates1', otDate)
table2.declarevariable('dates2', otDate)
table1.setvariable('dates1', startdate)
table2.setvariable('dates2', enddate)
table1.executeQBE
Please tell me what I did wrong here ??????
Thanks.
When I use the TOraDataSet with the method SetVariable and DeclareVariable, I have the followinfg message: ORA-1036: illegal variable/name number
My SQL state. in TOracledataset:
select * from table1
and at run time:
table1.Deletevariables;
table1.declarevariable('dates1', otDate)
table2.declarevariable('dates2', otDate)
table1.setvariable('dates1', startdate)
table2.setvariable('dates2', enddate)
table1.executeQBE
Please tell me what I did wrong here ??????
Thanks.